diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2017-08-14 15:53:05 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2017-08-14 15:53:05 +0000 |
commit | c9ea21b350ccd750d14adb1c918f4188bbceb944 (patch) | |
tree | 17775f253ebf9ce60853a8101f3cabdf72d92ab4 /sbin/pfctl/pfctl_parser.c | |
parent | 58daa82f53489325b95c4e9b4f35087fbf44912a (diff) |
expose the half-open tcp states counter, ok bluhm
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index bb1fab6d103..f62b9ab6128 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.315 2017/08/11 22:30:38 benno Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.316 2017/08/14 15:53:04 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -586,6 +586,7 @@ print_status(struct pf_status *s, int opts) } printf("%-27s %14s %16s\n", "State Table", "Total", "Rate"); printf(" %-25s %14u %14s\n", "current entries", s->states, ""); + printf(" %-25s %14u %14s\n", "half-open tcp", s->states_halfopen, ""); for (i = 0; i < FCNT_MAX; i++) { printf(" %-25s %14llu ", pf_fcounters[i], (unsigned long long)s->fcounters[i]); |