aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-02 18:30:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-02 18:30:45 +0000
commitb35f0886af98d30af01b2c049b4bb9ae0e0c1e0f (patch)
tree48bd84ad080783e0d4644347ecf819e5d108b78a /packages/carp.xml
parent8f8addfa87cbd494c32e1a4273c5bc3de94e0477 (diff)
downloadpfsense-packages-b35f0886af98d30af01b2c049b4bb9ae0e0c1e0f.tar.gz
pfsense-packages-b35f0886af98d30af01b2c049b4bb9ae0e0c1e0f.tar.bz2
pfsense-packages-b35f0886af98d30af01b2c049b4bb9ae0e0c1e0f.zip
* Use convert_friendly_interface_to_real_interface_name
* Extra space in $carp['advskew']
Diffstat (limited to 'packages/carp.xml')
-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");