From 54848afd8dd147aceb9a182ebed245b5ff95492f Mon Sep 17 00:00:00 2001 From: Christopher Pascoe Date: Tue, 24 May 2005 22:14:23 +0000 Subject: Identify states that will not be synchronised in pfctl -vvss output. ok mcbride@ henning@ --- sbin/pfctl/pf_print_state.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sbin') diff --git a/sbin/pfctl/pf_print_state.c b/sbin/pfctl/pf_print_state.c index a41e9e5f887..21670992eec 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.40 2004/12/10 22:13:26 henning Exp $ */ +/* $OpenBSD: pf_print_state.c,v 1.41 2005/05/24 22:14:22 pascoe Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -287,8 +287,9 @@ print_state(struct pf_state *s, int opts) printf("\n"); } if (opts & PF_OPT_VERBOSE2) { - printf(" id: %016llx creatorid: %08x\n", - betoh64(s->id), ntohl(s->creatorid)); + printf(" id: %016llx creatorid: %08x%s\n", + betoh64(s->id), ntohl(s->creatorid), + (s->sync_flags & PFSTATE_NOSYNC ? " (no-sync)" : "")); } } -- cgit v1.2.3