summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorjasoni <jasoni@cvs.openbsd.org>2001-09-06 22:37:09 +0000
committerjasoni <jasoni@cvs.openbsd.org>2001-09-06 22:37:09 +0000
commit2a35041d61cd954d3bbb5956fa433e4652d69ded (patch)
tree65e5c6631ae023ef6de17731e3743f0c6f1bc24f /sbin/pfctl
parent17945dac450b77bcb3affef1f2c4224391f9dfa7 (diff)
- you can only binat between hosts
- add binat example and description
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 3d3a1b0632a..e7f01d07eb7 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.29 2001/09/06 18:05:46 jasoni Exp $ */
+/* $OpenBSD: parse.y,v 1.30 2001/09/06 22:37:08 jasoni Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -551,7 +551,7 @@ natrule : NAT interface proto FROM ipspec TO ipspec ARROW address
}
;
-binatrule : BINAT interface proto FROM ipspec TO ipspec ARROW address
+binatrule : BINAT interface proto FROM address TO ipspec ARROW address
{
struct pf_binat binat;