diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2012-05-02 14:23:50 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2012-05-02 14:23:50 +0000 |
commit | a7ec34270aa02b288e5d3ca33247e1f2d751dac5 (patch) | |
tree | c8b0328b40bc5a32ed0fcddb26385b973d9f1d0a | |
parent | 230968293de418579cf453f0724d6d1dc7360e13 (diff) |
remove redundant check; from lteo; ok haesbaert
-rw-r--r-- | sbin/pfctl/pfctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index f6c19c267ae..d4f0e19b5d1 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.310 2012/04/18 14:42:17 deraadt Exp $ */ +/* $OpenBSD: pfctl.c,v 1.311 2012/05/02 14:23:49 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -825,8 +825,6 @@ pfctl_show_rules(int dev, char *path, int opts, enum pfctl_show format, goto error; } header++; - } - if (opts & PF_OPT_SHOWALL) { if (format == PFCTL_SHOW_RULES && (pr.nr > 0 || header)) pfctl_print_title("FILTER RULES:"); else if (format == PFCTL_SHOW_LABELS && labels) |