diff options
author | Ermal LUÇI <eri@pfsense.org> | 2014-12-22 15:33:06 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2014-12-22 15:33:15 +0100 |
commit | ad9bce2cb286abf3a28017b11abff9099086fb93 (patch) | |
tree | c187ee611d9169028ad592c709129796e36e70ac /etc/inc/interfaces.inc | |
parent | d90d869e4df75df0dce6cfb14fc9cb36664297b5 (diff) | |
download | pfsense-ad9bce2cb286abf3a28017b11abff9099086fb93.zip pfsense-ad9bce2cb286abf3a28017b11abff9099086fb93.tar.gz |
Correct issue with not reloading CP properly on calling interface configure.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 5250891..7322e44 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3090,9 +3090,10 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven /* update dyndns */ send_event("service reload dyndns {$interface}"); - /* XXX: which CPZONE? Needed? */ /* reload captive portal */ - captiveportal_init_rules(); + if (!function_exists('captiveportal_init_rules_byinterface')) + require_once('captiveportal.inc'); + captiveportal_init_rules_byinterface($interface); } } |