From b35f0886af98d30af01b2c049b4bb9ae0e0c1e0f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 2 Mar 2005 18:30:45 +0000 Subject: * Use convert_friendly_interface_to_real_interface_name * Extra space in $carp['advskew'] --- packages/carp.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/carp.xml') diff --git a/packages/carp.xml b/packages/carp.xml index 969a9923..8006e28a 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'] . $carp['advskew'] . $password; if($carp['balancing'] == "true") $using_arp_balance = 1; if($carp['preempt'] == "true") $using_preempt = 1; fwrite($fout, $carp_command . "\n"); @@ -265,7 +265,7 @@ * user has selected pfsync, bring it up. */ fwrite($fout, "/sbin/ifconfig pfsync" . $pfsync_instances_counter . " create \n"); - fwrite($fout, "/sbin/ifconfig pfsync" . $pfsync_instances_counter . " up syncif " . $carp['synciface'] . "\n"); + fwrite($fout, "/sbin/ifconfig pfsync" . $pfsync_instances_counter . " up syncif " . convert_friendly_interface_to_real_interface_name($carp['synciface']) . "\n"); $pfsync_instances_counter++; } fwrite($fout, "sleep 1\n"); -- cgit v1.2.3