diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-06-27 20:47:47 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-06-27 20:47:47 +0000 |
commit | 18a420d08978e1084df6d9f82bf3d302874db96b (patch) | |
tree | 012bed0ae513ace1196f43952bcaddf855825b8a /sbin/pfctl | |
parent | 1fc4054a3a489964b882296ab2682cf7f91b15c1 (diff) |
print inbound packets passed correctly
Diffstat (limited to 'sbin/pfctl')
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index a8710d295ef..04f7e694275 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.19 2001/06/27 04:29:21 deraadt Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.20 2001/06/27 20:47:46 dhartmei Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -311,7 +311,7 @@ print_status(struct pf_status *s) printf("Bytes In: %llu Bytes Out: %llu\n", s->bcounters[PF_IN], s->bcounters[PF_OUT]); printf("Inbound Packets: Passed: %llu Dropped: %llu\n", - s->pcounters[PF_IN][PF_DROP], + s->pcounters[PF_IN][PF_PASS], s->pcounters[PF_IN][PF_DROP]); printf("Outbound Packets: Passed: %llu Dropped: %llu\n", s->pcounters[PF_OUT][PF_PASS], |