diff options
author | 2001-07-17 23:25:42 +0000 | |
---|---|---|
committer | 2001-07-17 23:25:42 +0000 | |
commit | 34c76dcb0fed825b5d071a2f0b944f6ca3a63b48 (patch) | |
tree | 27c01e899cfdd170ac07b19173bbe069ac27a15a | |
parent | talk about normalization (diff) | |
download | wireguard-openbsd-34c76dcb0fed825b5d071a2f0b944f6ca3a63b48.tar.xz wireguard-openbsd-34c76dcb0fed825b5d071a2f0b944f6ca3a63b48.zip |
markus doesnt like min-ttl =, begone
-rw-r--r-- | sbin/pfctl/parse.y | 3 | ||||
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 8cd017e5ee1..cb99e5c6b19 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.7 2001/07/17 22:22:16 provos Exp $ */ +/* $OpenBSD: parse.y,v 1.8 2001/07/17 23:25:42 provos Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -362,7 +362,6 @@ keep: { $$ = 0; } minttl: { $$ = 0; } | MINTTL NUMBER { $$ = $2; } - | MINTTL PORTUNARY NUMBER { $$ = $3; } ; nodf: { $$ = 0; } diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index aded0c57992..8fddc92b36e 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.37 2001/07/17 22:22:17 provos Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.38 2001/07/17 23:25:42 provos Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -548,7 +548,7 @@ print_rule(struct pf_rule *r) if (r->rule_flag & PFRULE_NODF) printf("no-df "); if (r->min_ttl) - printf("min-ttl = %d ", r->min_ttl); + printf("min-ttl %d ", r->min_ttl); printf("\n"); } |