diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2005-08-17 14:55:00 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2005-08-17 14:55:00 +0000 |
commit | ef0119927c1be424f764ed890a45a4cc4cc102d5 (patch) | |
tree | e2a988cfb92b28ef319056ff40411bc54f38d512 /sbin | |
parent | 63b1fbef1807e6addadf28ef19685743e496260c (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.c | 6 |
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)) |