diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2004-01-04 12:30:30 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2004-01-04 12:30:30 +0000 |
commit | b68caf3ebd686e80d8954ce63736cce8878646e5 (patch) | |
tree | 69eb5aaee57faedfecd060b3e50708d5b2bbb71e /sbin/pfctl/parse.y | |
parent | 0bf939db4b50a266090073c556c4b917929eaece (diff) |
don't ignore "!" on "binat on !foo". ok mcbride@
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r-- | sbin/pfctl/parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 3509e8eafd5..f780d631125 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.434 2003/12/31 22:14:41 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.435 2004/01/04 12:30:29 cedric Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -3039,6 +3039,7 @@ binatrule : no BINAT natpass interface af proto FROM host TO ipspec tag if ($4 != NULL) { memcpy(binat.ifname, $4->ifname, sizeof(binat.ifname)); + binat.ifnot = $4->not; free($4); } if ($11 != NULL) |