diff options
author | Ermal <eri@pfsense.org> | 2010-05-07 11:37:04 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-05-07 11:37:04 +0000 |
commit | 906f11b572b75f62b5f5e2aedde2dd5909b435f8 (patch) | |
tree | b1808c35cdb68363bec04f324d9e5bfe6a7d6130 /etc | |
parent | 8d964cea2ce977423f14cb24b4115a680c985ac7 (diff) | |
download | pfsense-906f11b572b75f62b5f5e2aedde2dd5909b435f8.zip pfsense-906f11b572b75f62b5f5e2aedde2dd5909b435f8.tar.gz |
Fix link_ip_to_carp_interface. This unbreak at least Carp on CP and other consumers of it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 41048d7..e523ebc 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2782,6 +2782,7 @@ function link_ip_to_carp_interface($ip) { $carp_sn = $vip['subnet_bits']; $carp_nw = gen_subnet($carp_ip, $carp_sn); if (ip_in_subnet($ip, "{$carp_nw}/{$carp_sn}")) { + $carp_int = "vip{$vip['vhid']}"; if (!stristr($carp_ints, $carp_int)) $carp_ints .= " {$carp_int}"; } |