diff options
author | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2003-01-21 19:12:09 +0000 |
---|---|---|
committer | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2003-01-21 19:12:09 +0000 |
commit | af86970f0e12b2a86d7027c5cd737661ce2fbd31 (patch) | |
tree | 6d230cbdfde5495d367ce1ac73b01343cd01a123 /sbin/pfctl | |
parent | 787b4813ae85d2a0e7158dcc401850f12af34614 (diff) |
remove redundant if
ok dhartmei
Diffstat (limited to 'sbin/pfctl')
-rw-r--r-- | sbin/pfctl/pfctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index cb53b8de596..1bd82c67048 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.138 2003/01/20 18:37:52 camield Exp $ */ +/* $OpenBSD: pfctl.c,v 1.139 2003/01/21 19:12:08 camield Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -496,7 +496,7 @@ pfctl_print_rule_counters(struct pf_rule *rule, int opts) printf("%s=", t[i]); if (rule->skip[i].nr == -1) printf("end "); - else if (rule->skip[i].nr != rule->nr + 1) + else printf("%u ", rule->skip[i].nr); } printf("]\n"); |