From: tobhe Date: Sun, 21 Mar 2021 22:18:00 +0000 (+0000) Subject: The tag comes after iface in iked.conf(5). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0ec391d6fd58c2c746c5c6eb32e02d01f273223a;p=openbsd The tag comes after iface in iked.conf(5). --- diff --git a/sbin/iked/print.c b/sbin/iked/print.c index c9718117651..0ad493006e2 100644 --- a/sbin/iked/print.c +++ b/sbin/iked/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.1 2021/03/05 22:03:51 tobhe Exp $ */ +/* $OpenBSD: print.c,v 1.2 2021/03/21 22:18:00 tobhe Exp $ */ /* * Copyright (c) 2019-2021 Tobias Heider @@ -231,12 +231,12 @@ print_policy(struct iked_policy *pol) 0)); } - if (pol->pol_tag[0] != '\0') - print_verbose(" tag \"%s\"", pol->pol_tag); - if (pol->pol_iface != 0 && if_indextoname(pol->pol_iface, iface) != NULL) print_verbose(" iface %s", iface); + if (pol->pol_tag[0] != '\0') + print_verbose(" tag \"%s\"", pol->pol_tag); + if (pol->pol_tap != 0) print_verbose(" tap \"enc%u\"", pol->pol_tap);