diff options
author | jim-p <jimp@pfsense.org> | 2012-05-08 12:54:00 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-05-08 12:54:00 -0400 |
commit | 1e476e11c491915103e72c501d70caa5e6883cb9 (patch) | |
tree | e5b9c6fb94cb64be527fe23913fc289fb2a54901 /usr | |
parent | cb01726c5a6b7572a36d3552ca4e4e1bc50dfc12 (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 |
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); } |