Project

General

Profile

« Previous | Next » 

Revision fc5e6f70

Added by Bill Marquette over 20 years ago

it helps if you use the write sysctl to enable bridging
bridging should now work

View differences:

etc/inc/interfaces.inc
165 165
	if ($bridgeconfig) {
166 166
		/* Set the system bridge configuration and enable bridging. */
167 167
		mwexec("/sbin/sysctl net.link.ether.bridge_cfg=" . $bridgeconfig);
168

  
168
		mwexec("/sbin/sysctl net.link.ether.bridge.enable=1");
169 169
		if (isset($config['bridge']['filteringbridge']))
170 170
			mwexec("/sbin/sysctl net.link.ether.bridge.pf=1");
171

  
172
		mwexec("/sbin/sysctl net.link.ether.bridge=1");
173 171
	} else {
174 172
		mwexec("/sbin/sysctl net.link.ether.bridge.pf=0");
175
		mwexec("/sbin/sysctl net.link.ether.bridge=0");
173
		mwexec("/sbin/sysctl net.link.ether.bridge.enable=0");
176 174
	}
177 175

  
178 176
	if (!$g['booting']) {

Also available in: Unified diff