aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Pisati <piso@FreeBSD.org>2008-03-17 23:02:56 +0000
committerPaolo Pisati <piso@FreeBSD.org>2008-03-17 23:02:56 +0000
commit8368edc12304bef82030d35105073341d2d0bfce (patch)
treea3e5a696b60619eca7363927e480549cca0c806b
parent6d2d1c044f4e1ee6f54903759427f3eef81a75a5 (diff)
Notes
-rw-r--r--sys/netinet/ip_fw2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 67be4a9e0de2..a3347e55d77c 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -3297,7 +3297,8 @@ check_body:
if (t == NULL) {
retval = IP_FW_DENY;
goto done;
- } else
+ }
+ if (cmd->arg1 != IP_FW_TABLEARG)
((ipfw_insn_nat *)cmd)->nat = t;
}
retval = ipfw_nat_ptr(args, t, m);