mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
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.
This commit is contained in:
parent
e1e27eaadf
commit
91bf66effe
@ -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':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user