summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2005-08-17 14:55:00 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2005-08-17 14:55:00 +0000
commitef0119927c1be424f764ed890a45a4cc4cc102d5 (patch)
treee2a988cfb92b28ef319056ff40411bc54f38d512 /sbin
parent63b1fbef1807e6addadf28ef19685743e496260c (diff)
with pfctl -vsI, indicate which interfaces are being skipped.
ok henning@, markus@, mpf@
Diffstat (limited to 'sbin')
-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))