summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-05-08 12:54:00 -0400
committerjim-p <jimp@pfsense.org>2012-05-08 12:54:00 -0400
commit1e476e11c491915103e72c501d70caa5e6883cb9 (patch)
treee5b9c6fb94cb64be527fe23913fc289fb2a54901 /usr/local
parentcb01726c5a6b7572a36d3552ca4e4e1bc50dfc12 (diff)
downloadpfsense-1e476e11c491915103e72c501d70caa5e6883cb9.zip
pfsense-1e476e11c491915103e72c501d70caa5e6883cb9.tar.gz
$realif only exists on apply, which this code path would never touch. Change to use the configured interface instead. Fixes #2212
Diffstat (limited to 'usr/local')
-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 f85a8a5..3b05c9a 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -530,7 +530,7 @@ if ($_POST['apply']) {
$wancfg['if'] = $a_ppps[$pppid]['ports'];
unset($a_ppps[$pppid]);
} else if ($wancfg['ipaddr'] == "dhcp") {
- $pid = find_dhclient_process($realif);
+ $pid = find_dhclient_process($wancfg['if']);
if($pid)
posix_kill($pid, SIGTERM);
}
OpenPOWER on IntegriCloud