diff options
author | Ermal <eri@pfsense.org> | 2011-06-13 18:16:03 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-06-13 18:16:03 +0000 |
commit | 63f81fbd88f69fe04bf385d81e97f64589debda8 (patch) | |
tree | b2fd0820644e3f52c3771894eb1dcff87368ffbf /usr | |
parent | 19ed162443aba106bfa51f88fc082af7f09738ab (diff) | |
download | pfsense-63f81fbd88f69fe04bf385d81e97f64589debda8.zip pfsense-63f81fbd88f69fe04bf385d81e97f64589debda8.tar.gz |
Do not assume that every merge is about vips. Found-by: Jim
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/xmlrpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index 95f4d63..f3211df 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -193,7 +193,7 @@ function restore_config_section_xmlrpc($raw_params) { * The real work on handling the vips specially * This is a copy of intefaces_vips_configure with addition of not reloading existing/not changed carps */ - if (is_array($config['virtualip']) && is_array($config['virtualip']['vip'])) { + if (isset($params[0]['virtualip']) && is_array($config['virtualip']) && is_array($config['virtualip']['vip'])) { $carp_setuped = false; $anyproxyarp = false; foreach ($config['virtualip']['vip'] as $vip) { |