diff options
author | David Krause <david@cvs.openbsd.org> | 2009-04-15 05:07:03 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2009-04-15 05:07:03 +0000 |
commit | a649feaf00fcfb9c79dc3395a677ae01bb8c3dc9 (patch) | |
tree | fc33c5767a6ee4ece375e8f32b2aa857b87f4b3a | |
parent | e7e1c3d228b039a425bf9b2aa3758d011c2d8955 (diff) |
restore printing of the fragment option; ok henning@
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index 3cebec8fd83..b86759166b0 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.243 2009/04/06 12:11:52 henning Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.244 2009/04/15 05:07:02 david Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -961,6 +961,9 @@ print_rule(struct pf_rule *r, const char *anchor_call, int verbose) printf(")"); } + if (r->rule_flag & PFRULE_FRAGMENT) + printf(" fragment"); + if (r->scrub_flags >= PFSTATE_NODF || r->min_ttl || r->max_mss) { printf(" scrub ("); opts = 1; |