From 91bf66effec3ec04040593e54bae4ad2540b59d6 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 20 Feb 2015 09:33:43 +0000 Subject: [PATCH] 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. --- src/etc/inc/service-utils.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/etc/inc/service-utils.inc b/src/etc/inc/service-utils.inc index e129dceb6..7142d42e1 100644 --- a/src/etc/inc/service-utils.inc +++ b/src/etc/inc/service-utils.inc @@ -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':