diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl.c | 3 | ||||
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 7f1d36de575..da2eb7cd3e6 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.13 2001/06/26 17:46:02 deraadt Exp $ */ +/* $OpenBSD: pfctl.c,v 1.14 2001/06/26 20:50:26 dhartmei Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -199,7 +199,6 @@ pfctl_show_rules(int dev) errx(1, "DIOCGETRULE"); return (1); } - printf("@%u ", nr + 1); print_rule(&pr.rule); } return (0); diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index c75c4657050..75fd701a321 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.13 2001/06/26 19:43:15 dhartmei Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.14 2001/06/26 20:50:26 dhartmei Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -387,6 +387,7 @@ print_state(struct pf_state *s) void print_rule(struct pf_rule *r) { + printf("@%d ", r->nr + 1); if (r->action == 0) printf("pass "); else |