diff options
author | Bill Marquette <billm@pfsense.org> | 2005-03-01 04:44:47 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-03-01 04:44:47 +0000 |
commit | fc5e6f70bb6c0234e8ba5e8d8af0da41f342e9a2 (patch) | |
tree | 948db4ce8bc2e9a2e85146bdbe092946bd38ab7a /etc | |
parent | 6bc14bfbc7da26822e4852eeba62bb0a08f58e32 (diff) | |
download | pfsense-fc5e6f70bb6c0234e8ba5e8d8af0da41f342e9a2.zip pfsense-fc5e6f70bb6c0234e8ba5e8d8af0da41f342e9a2.tar.gz |
it helps if you use the write sysctl to enable bridging
bridging should now work
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 7709d79..313c967 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -165,14 +165,12 @@ function interfaces_optional_configure() { if ($bridgeconfig) { /* Set the system bridge configuration and enable bridging. */ mwexec("/sbin/sysctl net.link.ether.bridge_cfg=" . $bridgeconfig); - + mwexec("/sbin/sysctl net.link.ether.bridge.enable=1"); if (isset($config['bridge']['filteringbridge'])) mwexec("/sbin/sysctl net.link.ether.bridge.pf=1"); - - mwexec("/sbin/sysctl net.link.ether.bridge=1"); } else { mwexec("/sbin/sysctl net.link.ether.bridge.pf=0"); - mwexec("/sbin/sysctl net.link.ether.bridge=0"); + mwexec("/sbin/sysctl net.link.ether.bridge.enable=0"); } if (!$g['booting']) { |