diff options
author | pierrepomes <pierre.pomes@interface-tech.com> | 2009-11-30 17:19:42 -0500 |
---|---|---|
committer | pierrepomes <pierre.pomes@interface-tech.com> | 2009-11-30 17:19:42 -0500 |
commit | 8df5eae44ee8b1521ab8c3e336063208449d4c1f (patch) | |
tree | 85fdc796e76cbb8094a32f21859c1c883a8fc8dd /etc/inc | |
parent | 9444761e57410703a0539e4c83b459376c234336 (diff) | |
download | pfsense-8df5eae44ee8b1521ab8c3e336063208449d4c1f.zip pfsense-8df5eae44ee8b1521ab8c3e336063208449d4c1f.tar.gz |
Fix get_configured_carp_interface_list: use the right interface name using vhid
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/util.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 02c8711..b585aa8 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -349,7 +349,8 @@ function get_configured_carp_interface_list() { switch ($vip['mode']) { case "carp": case "carpdev-dhcp": - $iflist[$vip['carpif']] = $vip['subnet']; + $vipif = "vip" . $vip['vhid']; + $iflist[$vipif] = $vip['subnet']; break; } } |