Commit 91bf66ef authored by Ad Schellevis's avatar Ad Schellevis

ipfw ruleset not loaded after start/restart of captive portal...

ipfw ruleset not loaded after start/restart of captive portal (https://github.com/opnsense/core/issues/49)

this is not a complete fix of the issue, but forces a reload of the ruleset. The behaviour of stopping a zone is not correct now, becasue the ruleset remains active the clients cannot access the internet. A workaround is disabling the zone and stopping it then.
parent e1e27eaa
......@@ -748,6 +748,7 @@ if (!function_exists('service_control_restart')) {
killbypid("{$g['varrun_path']}/lighty-{$zone}-CaptivePortal.pid");
killbypid("{$g['varrun_path']}/lighty-{$zone}-CaptivePortal-SSL.pid");
captiveportal_init_webgui_zonename($zone);
captiveportal_configure();
break;
case 'ntpd':
case 'openntpd':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment