summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhartmei <dhartmei@openbsd.org>2005-08-17 14:54:59 +0000
committerdhartmei <dhartmei@openbsd.org>2005-08-17 14:54:59 +0000
commitdd9c8f06a78c24ff4fac970bd1c197af4787c9b5 (patch)
tree300a1b49ffcc19cb89250fef58320ccb6b13e971
parentadd newlines in hostapd_fatal() calls, fix some typos. (diff)
downloadwireguard-openbsd-dd9c8f06a78c24ff4fac970bd1c197af4787c9b5.tar.xz
wireguard-openbsd-dd9c8f06a78c24ff4fac970bd1c197af4787c9b5.zip
with pfctl -vsI, indicate which interfaces are being skipped.
ok henning@, markus@, mpf@
-rw-r--r--sbin/pfctl/pfctl_table.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_table.c b/sbin/pfctl/pfctl_table.c
index 4ee5aa08f17..968c13e6f68 100644
--- a/sbin/pfctl/pfctl_table.c
+++ b/sbin/pfctl/pfctl_table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_table.c,v 1.63 2005/05/21 21:03:58 henning Exp $ */
+/* $OpenBSD: pfctl_table.c,v 1.64 2005/08/17 14:54:59 dhartmei Exp $ */
/*
* Copyright (c) 2002 Cedric Berger
@@ -568,6 +568,10 @@ print_iface(struct pfi_kif *p, int opts)
int i, af, dir, act;
printf("%s", p->pfik_name);
+ if (opts & PF_OPT_VERBOSE) {
+ if (p->pfik_flags & PFI_IFLAG_SKIP)
+ printf(" (skip)");
+ }
printf("\n");
if (!(opts & PF_OPT_VERBOSE2))