diff options
author | 2008-06-10 04:29:21 +0000 | |
---|---|---|
committer | 2008-06-10 04:29:21 +0000 | |
commit | e5100125048b9bb80e004182dabf6bcbadc25057 (patch) | |
tree | 0f06eea10980a9f7b1080c7db3c631751fe2a33d | |
parent | new state option "sloppy" to use the sloppy tcp state tracker instead (diff) | |
download | wireguard-openbsd-e5100125048b9bb80e004182dabf6bcbadc25057.tar.xz wireguard-openbsd-e5100125048b9bb80e004182dabf6bcbadc25057.zip |
in verbose mode indicate which states are sloppy, ryan reyk theo
-rw-r--r-- | sbin/pfctl/pf_print_state.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/pfctl/pf_print_state.c b/sbin/pfctl/pf_print_state.c index ab123d604f9..77c81ed5698 100644 --- a/sbin/pfctl/pf_print_state.c +++ b/sbin/pfctl/pf_print_state.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_print_state.c,v 1.48 2008/05/29 01:00:53 mcbride Exp $ */ +/* $OpenBSD: pf_print_state.c,v 1.49 2008/06/10 04:29:21 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -312,6 +312,8 @@ print_state(struct pfsync_state *s, int opts) printf(", anchor %u", s->anchor); if (s->rule != -1) printf(", rule %u", s->rule); + if (s->sloppy) + printf(", sloppy"); if (s->sync_flags & PFSYNC_FLAG_SRCNODE) printf(", source-track"); if (s->sync_flags & PFSYNC_FLAG_NATSRCNODE) |