diff options
author | zi <zi@FreeBSD.org> | 2012-01-04 09:34:00 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2012-01-04 09:34:00 +0800 |
commit | ef39b4c23dcfcfe31c24fe14a3232da7e63596d8 (patch) | |
tree | 6c5879f84c067a92142b3dd0ca77f9ddf7fac2f6 /net/ifstated | |
parent | a81a3e6ce131100d407659a906354bc6e425f955 (diff) | |
download | freebsd-ports-gnome-ef39b4c23dcfcfe31c24fe14a3232da7e63596d8.tar.gz freebsd-ports-gnome-ef39b4c23dcfcfe31c24fe14a3232da7e63596d8.tar.zst freebsd-ports-gnome-ef39b4c23dcfcfe31c24fe14a3232da7e63596d8.zip |
- Patch sample ifstated.conf to honor FreeBSD's ping(1) syntax
PR: ports/163037
Submitted by: Filip Valder <filip@valder.cz>
Approved by: maintainer timeout (3+ weeks)
Diffstat (limited to 'net/ifstated')
-rw-r--r-- | net/ifstated/files/patch-ifstated.conf-sample | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/ifstated/files/patch-ifstated.conf-sample b/net/ifstated/files/patch-ifstated.conf-sample new file mode 100644 index 000000000000..e4f08f370436 --- /dev/null +++ b/net/ifstated/files/patch-ifstated.conf-sample @@ -0,0 +1,19 @@ +--- ./ifstated.conf-sample.orig 2012-01-03 20:24:21.000000000 -0500 ++++ ./ifstated.conf-sample 2012-01-03 20:26:25.000000000 -0500 +@@ -18,12 +18,12 @@ + # The "net" addresses are other addresses which can be used to determine + # whether we have connectivity. Make sure the hosts are always up, or + # test multiple ip's, 'or'-ing the tests. +-net = '( "ping -q -c 1 -w 1 192.168.6.8 > /dev/null" every 10 && \ +- "ping -q -c 1 -w 1 192.168.3.8 > /dev/null" every 10)' ++net = '( "ping -q -c 1 -W 1000 192.168.6.8 > /dev/null" every 10 && \ ++ "ping -q -c 1 -W 1000 192.168.3.8 > /dev/null" every 10)' + + # The peer addresses below are the real ip addresses of the OTHER firewall +-peer = '( "ping -q -c 1 -w 1 192.168.6.7 > /dev/null" every 10 && \ +- "ping -q -c 1 -w 1 192.168.3.7 > /dev/null" every 10)' ++peer = '( "ping -q -c 1 -W 1000 192.168.6.7 > /dev/null" every 10 && \ ++ "ping -q -c 1 -W 1000 192.168.3.7 > /dev/null" every 10)' + + state auto { + if $carp_up |