aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-11 15:37:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-11 15:37:06 +0000
commite8bdfb9b83a052c1780c2bbe5cb46220e428d262 (patch)
tree0506a62ec51368ae08e2c15c7f164614302e65ee /packages
parent137711eab77be2d603777bc04b32e785f63193c0 (diff)
downloadpfsense-packages-e8bdfb9b83a052c1780c2bbe5cb46220e428d262.tar.gz
pfsense-packages-e8bdfb9b83a052c1780c2bbe5cb46220e428d262.tar.bz2
pfsense-packages-e8bdfb9b83a052c1780c2bbe5cb46220e428d262.zip
Use correct IP when setting up pfsync
Diffstat (limited to 'packages')
-rw-r--r--packages/carp.xml3
1 files changed, 2 insertions, 1 deletions
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");