summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pf_print_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pf_print_state.c b/sbin/pfctl/pf_print_state.c
index 77c81ed5698..f75b621e2f6 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.49 2008/06/10 04:29:21 henning Exp $ */
+/* $OpenBSD: pf_print_state.c,v 1.50 2008/06/10 19:32:14 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -312,7 +312,7 @@ 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)
+ if (s->state_flags & PFSTATE_SLOPPY)
printf(", sloppy");
if (s->sync_flags & PFSYNC_FLAG_SRCNODE)
printf(", source-track");