summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorpierrepomes <pierre.pomes@interface-tech.com>2009-11-30 17:19:42 -0500
committerpierrepomes <pierre.pomes@interface-tech.com>2009-11-30 17:19:42 -0500
commit8df5eae44ee8b1521ab8c3e336063208449d4c1f (patch)
tree85fdc796e76cbb8094a32f21859c1c883a8fc8dd /etc/inc
parent9444761e57410703a0539e4c83b459376c234336 (diff)
downloadpfsense-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.inc3
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;
}
}
OpenPOWER on IntegriCloud