Project

General

Profile

« Previous | Next » 

Revision 0d429e43

Added by Scott Ullrich almost 20 years ago

  • Correctly bring up a new bridge
  • Correctly destroy a bridge when no longer used

View differences:

usr/local/www/interfaces_wan.php
183 183
	if (!$input_errors) {
184 184

  
185 185
		$bridge = discover_bridge($wancfg['if'], filter_translate_type_to_real_interface($wancfg['bridge']));
186
		if($bridge) {
186
		if($bridge <> "-1") {
187 187
			destroy_bridge($bridge);
188 188
		}
189 189
	

Also available in: Unified diff