From 18a420d08978e1084df6d9f82bf3d302874db96b Mon Sep 17 00:00:00 2001 From: Daniel Hartmeier Date: Wed, 27 Jun 2001 20:47:47 +0000 Subject: print inbound packets passed correctly --- sbin/pfctl/pfctl_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/pfctl') 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], -- cgit v1.2.3