summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-05-18 21:54:12 +0000
committerErmal <eri@pfsense.org>2011-05-18 21:54:12 +0000
commitbb4fcffd7d89b48429bae5f8913f5c17bfee6952 (patch)
treeb049d5d726e9e95e5295fcb78c62fa1f90ba68b9 /usr
parentf51d4f989eaa8d1e943c6cbf68faae499cddc961 (diff)
downloadpfsense-bb4fcffd7d89b48429bae5f8913f5c17bfee6952.zip
pfsense-bb4fcffd7d89b48429bae5f8913f5c17bfee6952.tar.gz
Fixes #1522. Call interface reconfigure so we bring down the interface and than re-configure it.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 53df333..ead78cc 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -310,7 +310,7 @@ if ($_POST['apply']) {
$toapplylist = unserialize(file_get_contents("{$g['tmp_path']}/.interfaces.apply"));
foreach ($toapplylist as $ifapply) {
if (isset($config['interfaces'][$ifapply]['enable']))
- interface_configure($ifapply, true);
+ interface_reconfigure($ifapply);
else
interface_bring_down($ifapply);
}
OpenPOWER on IntegriCloud