aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/carp.xml')
-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");