summaryrefslogtreecommitdiff
path: root/net/ifstated/files/patch-etc-ifstated.conf
diff options
context:
space:
mode:
Diffstat (limited to 'net/ifstated/files/patch-etc-ifstated.conf')
-rw-r--r--net/ifstated/files/patch-etc-ifstated.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/net/ifstated/files/patch-etc-ifstated.conf b/net/ifstated/files/patch-etc-ifstated.conf
new file mode 100644
index 000000000000..2adb701099f7
--- /dev/null
+++ b/net/ifstated/files/patch-etc-ifstated.conf
@@ -0,0 +1,34 @@
+--- etc/ifstated.conf 18 Nov 2004 21:43:12 -0000 1.1.1.1
++++ etc/ifstated.conf 18 Nov 2004 21:48:39 -0000 1.2
+@@ -1,4 +1,5 @@
+ # $OpenBSD: ifstated.conf,v 1.4 2004/04/28 01:01:27 deraadt Exp $
++# $Id: ifstated.conf,v 1.2 2004/11/18 21:48:39 mdg Exp $
+ # This is a sample config for a pair of firewalls with two interfaces
+ #
+ # carp0 and carp1 have ip addresses on 192.168.3.0/24 and 192.168.6.0/24
+@@ -7,7 +8,7 @@
+ # net.inet.carp.preempt must be enabled (set to 1) for this to work correctly.
+
+ # Uncomment one of the following lines to force primary/backup status.
+-# init-state primary
++init-state primary
+ # init-state backup
+
+ carp_up = "((carp0 link up) and (carp1 link up))"
+@@ -18,12 +19,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 and \
+- "ping -q -c 1 -w 1 192.168.3.8 > /dev/null" every 10)'
++net = '( "ping -q -c 1 -t 1 192.168.6.8 > /dev/null" every 10 and \
++ "ping -q -c 1 -t 1 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 and \
+- "ping -q -c 1 -w 1 192.168.3.7 > /dev/null" every 10)'
++peer = '( "ping -q -c 1 -t 1 192.168.6.7 > /dev/null" every 10 and \
++ "ping -q -c 1 -t 1 192.168.3.7 > /dev/null" every 10)'
+
+ state auto {
+ if $carp_up {