diff options
author | Seth Mos <seth.mos@dds.nl> | 2010-11-03 11:32:34 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2010-11-03 11:32:34 +0100 |
commit | 6da3df4e4242b9d24c7cc30b686fc7b35de3e769 (patch) | |
tree | 5a8511e7b613718bec857aa38497d1b824c4e47e /etc/inc/system.inc | |
parent | 5bb1e653d2f83dd1410bba15dfdae7e24d57bdd3 (diff) | |
download | pfsense-6da3df4e4242b9d24c7cc30b686fc7b35de3e769.zip pfsense-6da3df4e4242b9d24c7cc30b686fc7b35de3e769.tar.gz |
Enable both ipv4 and ipv6 forwarding before returning
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 3a4883d..6f6ad6e 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -460,8 +460,9 @@ function system_routing_enable() { echo "system_routing_enable() being called $mt\n"; } - return mwexec("/sbin/sysctl net.inet.ip.forwarding=1"); - return mwexec("/sbin/sysctl net.inet6.ip6.forwarding=1"); + mwexec("/sbin/sysctl net.inet.ip.forwarding=1"); + mwexec("/sbin/sysctl net.inet6.ip6.forwarding=1"); + return; } function system_syslogd_start() { |