summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-12-22 15:33:06 +0100
committerErmal LUÇI <eri@pfsense.org>2014-12-22 15:33:15 +0100
commitad9bce2cb286abf3a28017b11abff9099086fb93 (patch)
treec187ee611d9169028ad592c709129796e36e70ac /etc/inc/interfaces.inc
parentd90d869e4df75df0dce6cfb14fc9cb36664297b5 (diff)
downloadpfsense-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.inc5
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);
}
}
OpenPOWER on IntegriCloud