diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2021-03-21 22:18:01 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2021-03-21 22:18:01 +0000 |
commit | 6e5fb820fe5fc6039100a40be810810f5ee58791 (patch) | |
tree | cd38f5422aa52ba586bca8ff930ec26f1aa91903 /sbin/iked/print.c | |
parent | 5b812255bdf7e6b38455c53fbd0a2b01dcc75777 (diff) |
The tag comes after iface in iked.conf(5).
Diffstat (limited to 'sbin/iked/print.c')
-rw-r--r-- | sbin/iked/print.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <tobias.heider@stusta.de> @@ -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); |