From e8bdfb9b83a052c1780c2bbe5cb46220e428d262 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 11 Mar 2005 15:37:06 +0000 Subject: Use correct IP when setting up pfsync --- packages/carp.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/carp.xml b/packages/carp.xml index b4beea8a..453f21fb 100644 --- a/packages/carp.xml +++ b/packages/carp.xml @@ -242,7 +242,8 @@ $carp_sync_ip = $carp['pfsyncip']; fwrite($fout, "/sbin/ifconfig pfsync0 create\n"); fwrite($fout, "/sbin/ifconfig pfsync0 {$carp_sync_ip}/24\n"); - fwrite($fout, "/sbin/ifconfig pfsync0 up syncif " . carp_sync_ip . "\n"); + fwrite($fout, "/sbin/ifconfig pfsync0 syncif " . $carp_sync_int . "\n"); + fwrite($fout, "/sbin/ifconfig pfsync0 up\n"); $pfsync_instances_counter++; } fwrite($fout, "/etc/rc.filter_configure"); -- cgit v1.2.3