summaryrefslogtreecommitdiff
path: root/etc/netstart
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-11-29 02:03:44 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-11-29 02:03:44 +0000
commit1d94037a7d1c1367be4627f319db375db12389f8 (patch)
treeb7f3af0e963eb6924875397eadc3068a6e219307 /etc/netstart
parent6ff91764f33dc873ffee54461a5dcf54b0b0e841 (diff)
NAT requires IPF
Diffstat (limited to 'etc/netstart')
-rw-r--r--etc/netstart4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart
index 5dd41fa52fb..dea526c875a 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.31 1997/11/04 09:15:31 deraadt Exp $
+# $OpenBSD: netstart,v 1.32 1997/11/29 02:03:43 kstailey Exp $
# /etc/myname contains my symbolic name
#
@@ -24,7 +24,7 @@ fi
# Configure NAT before configuring network interfaces
#
-if [ X"${nat}" = X"YES" -a -f "${nat_rules}" ]; then
+if [ "${nat}" = "YES" -a "${ipfilter}" = "YES" -a -f "${nat_rules}" ]; then
echo 'configuring NAT'
ipnat -CF -f ${nat_rules}
else