Bug #2995 ยป pfsync-syncpeer-patch.txt
1 |
# diff -u /etc/inc/interfaces.inc.orig /etc/inc/interfaces.inc |
---|---|
2 |
--- /etc/inc/interfaces.inc.orig 2013-05-16 13:47:13.000000000 +0200 |
3 |
+++ /etc/inc/interfaces.inc 2013-05-16 13:48:02.000000000 +0200 |
4 |
@@ -1666,7 +1666,7 @@ |
5 |
if (is_ipaddr($pfsyncpeerip)) |
6 |
mwexec("/sbin/ifconfig pfsync0 syncdev {$carp_sync_int} syncpeer {$pfsyncpeerip} up", false); |
7 |
else |
8 |
- mwexec("/sbin/ifconfig pfsync0 syncdev {$carp_sync_int} up", false); |
9 |
+ mwexec("/sbin/ifconfig pfsync0 syncdev {$carp_sync_int} -syncpeer up", false); |
10 |
|
11 |
sleep(1); |
12 |
|
13 |
# |