diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-03-10 19:00:06 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-03-10 19:00:06 -0500 |
commit | 0e7954b8a333d7ca92f56c86c74e2d9d7457b546 (patch) | |
tree | ea7fc190b0c633df06e3bdb607ef522b63ddb3d5 | |
parent | eb6495c3b1dfdd3639a01bb27e7bf2285f9ae2ce (diff) | |
download | pfsense-0e7954b8a333d7ca92f56c86c74e2d9d7457b546.zip pfsense-0e7954b8a333d7ca92f56c86c74e2d9d7457b546.tar.gz |
Use a consistent variable name here. related to Ticket #4446
-rwxr-xr-x | usr/local/www/xmlrpc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index e84326f..aa92c25 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -279,12 +279,12 @@ function restore_config_section_xmlrpc($raw_params) { } } /* Cleanup remaining old carps */ - foreach ($oldvips as $oldvipif => $oldvippar) { - if (strstr($oldvippar['interface'], '_vip')) { - $oldvipif = explode('_vip', $oldvippar['interface']); + foreach ($oldvips as $oldvipif => $oldvipar) { + if (strstr($oldvipar['interface'], '_vip')) { + $oldvipif = explode('_vip', $oldvipar['interface']); $oldvipif = $oldvipif[0]; } else - $oldvipif = get_real_interface($oldvippar['interface']); + $oldvipif = get_real_interface($oldvipar['interface']); if (!empty($oldvipif)) { if (is_ipaddrv6($oldvipif)) mwexec("/sbin/ifconfig " . escapeshellarg($oldvipif) . " inet6 " . escapeshellarg($oldvipar['subnet']) . " delete"); |