summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_parser.c
diff options
context:
space:
mode:
authorjasoni <jasoni@cvs.openbsd.org>2002-05-09 21:58:13 +0000
committerjasoni <jasoni@cvs.openbsd.org>2002-05-09 21:58:13 +0000
commit321f9cba7df95fec45615a4f5f6f9b995a0edb05 (patch)
tree7c75c542368976d3eb47e322dc7ce49631c44953 /sbin/pfctl/pfctl_parser.c
parent676b7110b9008420e77ca52e8ed54111e3659e23 (diff)
Add a max-mss option to the scrub rule which will enforce a maximum mss
by lowering it to the given value. - ok dhartmei@, provos@
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-rw-r--r--sbin/pfctl/pfctl_parser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index 9d4739e0696..9d8cba5e749 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.68 2002/05/09 19:58:42 dhartmei Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.69 2002/05/09 21:58:12 jasoni Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -848,6 +848,8 @@ print_rule(struct pf_rule *r)
printf("no-df ");
if (r->min_ttl)
printf("min-ttl %d ", r->min_ttl);
+ if (r->max_mss)
+ printf("max-mss %d ", r->max_mss);
if (r->allow_opts)
printf("allow-opts ");
if (r->label[0])