Project

General

Profile

« Previous | Next » 

Revision 6310eaa2

Added by Chris Buechler over 9 years ago

fix syntax error in ipfw command to disable on inactive interfaces

View differences:

usr/local/www/services_captiveportal.php
415 415
		if (!empty($toremove)) {
416 416
			foreach ($toremove as $removeif) {
417 417
				$removeif = get_real_interface($removeif);
418
				mwexec("/sbin/ipfw zone {$cpzoneid} mdel {$removeif}");
418
				mwexec("/sbin/ipfw -x {$cpzoneid} mdel {$removeif}");
419 419
			}
420 420
		}
421 421
		captiveportal_configure_zone($newcp);

Also available in: Unified diff