aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/carp.xml')
-rw-r--r--packages/carp.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/carp.xml b/packages/carp.xml
index fed33e3e..fa20ef1d 100644
--- a/packages/carp.xml
+++ b/packages/carp.xml
@@ -240,7 +240,7 @@
if($carp['balancing'] != "")
$using_arp_balance = 1;
$carp_sync_int = convert_friendly_interface_to_real_interface_name($carp['pfsyncinterface']);
- $carp_sync_ip = $carp['pfsyncip'];
+ $carp_sync_ip = find_interface_ip($carp_sync_int);
fwrite($fout, "/sbin/ifconfig pfsync0 create\n");
fwrite($fout, "/sbin/ifconfig pfsync0 {$carp_sync_ip}/24\n");
fwrite($fout, "/sbin/ifconfig pfsync0 syncif " . $carp_sync_int . "\n");