Project

General

Profile

« Previous | Next » 

Revision af125177

Added by Ermal LUÇI about 12 years ago

Resolves #3121. Fix the command so it does perform correctly

View differences:

etc/inc/captiveportal.inc
1868 1868
			unlock($cpdblck);
1869 1869
			$macrules = captiveportal_passthrumac_configure_entry($mac);
1870 1870
			file_put_contents("{$g['tmp_path']}/macentry_{$cpzone}.rules.tmp", $macrules);
1871
			mwexec("/sbin/ipfw -x {$cpzone}-q {$g['tmp_path']}/macentry_{$cpzone}.rules.tmp");
1871
			mwexec("/sbin/ipfw -x {$cpzone} -q {$g['tmp_path']}/macentry_{$cpzone}.rules.tmp");
1872 1872
			$writecfg = true;
1873 1873
		} else {
1874 1874
			/* See if a pipeno is passed, if not start sessions because this means there isn't one atm */

Also available in: Unified diff