diff options
Diffstat (limited to 'etc/netstart')
-rw-r--r-- | etc/netstart | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart index dea526c875a..22cebdbb500 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.32 1997/11/29 02:03:43 kstailey Exp $ +# $OpenBSD: netstart,v 1.33 1997/12/20 23:19:30 deraadt Exp $ # /etc/myname contains my symbolic name # @@ -31,6 +31,10 @@ else nat=NO fi +if [ X"${iproute}" = X"YES" ]; then + sysctl -w net.inet.ip.forwarding=1 +fi + # set the address for the loopback interface ifconfig lo0 inet localhost |