From 861b77be0652b89030c29b78fa1c71851d51f40f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 9 Mar 2005 20:08:34 +0000 Subject: Correctly pass advskew value to carp. --- packages/carp.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/carp.xml b/packages/carp.xml index 32869f45..89c32a1b 100644 --- a/packages/carp.xml +++ b/packages/carp.xml @@ -255,7 +255,7 @@ $password = " pass " . $carp['password']; } $carp_command = "/sbin/ifconfig carp" . $carp_instances_counter . " " . $carp['ipaddress'] . "/" . $carp['netmask']; - $carp_command .= " broadcast " . $broadcast_address . " vhid " . $carp['vhid'] . $carp['advskew'] . $password; + $carp_command .= " broadcast " . $broadcast_address . " vhid " . $carp['vhid'] . " advskew " . $carp['advskew'] . $password; if($carp['balancing'] == "true") $using_arp_balance = 1; if($carp['preempt'] == "true") $using_preempt = 1; fwrite($fout, $carp_command . "\n"); -- cgit v1.2.3