diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-12-19 10:58:22 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-12-19 10:58:22 +0000 |
commit | 4164e1e8801072dd39a213be809c8ef244ad2e22 (patch) | |
tree | fc1f2ede5b37c504cf728e6d6b34c66ba67b71df /sbin | |
parent | 50f6f4d768f0ccc673b51468c3920a605cbdc28b (diff) |
fix 'no rdr'.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/parse.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index b322713493f..175517f092e 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.265 2002/12/18 18:01:41 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.266 2002/12/19 10:58:21 dhartmei Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -2342,7 +2342,6 @@ rdrrule : no RDR interface af proto FROM ipspec TO ipspec dport redirpool poolt rdr.action = PF_RDR; rdr.af = $4; - rdr.action = PF_RDR; if ($7 != NULL) { memcpy(&rdr.src.addr.addr, &$7->addr.addr, sizeof(rdr.src.addr.addr)); |