diff options
author | Ermal <eri@pfsense.org> | 2011-06-08 07:44:26 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-06-08 07:44:26 +0000 |
commit | 6a7dd9bb9915ba9429b2a22bc64fba1c0f4cf95f (patch) | |
tree | a8ffcbb5dd0347fec2504ff006a7e8508645eaa5 | |
parent | 7fc6c0057345847fc88642cb663b6b4abd82da52 (diff) | |
download | pfsense-6a7dd9bb9915ba9429b2a22bc64fba1c0f4cf95f.zip pfsense-6a7dd9bb9915ba9429b2a22bc64fba1c0f4cf95f.tar.gz |
Do not destroy and create the vip during interface [re]configuration since it causes unecessary work and most importantly issues.
-rw-r--r-- | etc/inc/interfaces.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 63f380a..59a5b0f 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3277,8 +3277,9 @@ function link_interface_to_vips($int, $action = "") { foreach ($config['virtualip']['vip'] as $vip) { if ($int == $vip['interface']) { if ($action == "update") { - interface_vip_bring_down($vip); - interfaces_vips_configure($int); + //interface_vip_bring_down($vip); + if (!does_interface_exist("vip{$vip['vhid']}")) + interfaces_vips_configure($int); } else return $vip; } @@ -3728,4 +3729,4 @@ function get_vip_descr($ipaddress) { return ""; } -?>
\ No newline at end of file +?> |