aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/carp.xml4
1 files changed, 2 insertions, 2 deletions
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");