diff options
Diffstat (limited to 'etc/ifstated.conf')
-rw-r--r-- | etc/ifstated.conf | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/ifstated.conf b/etc/ifstated.conf index a4e65d40e5a..57285e15e6f 100644 --- a/etc/ifstated.conf +++ b/etc/ifstated.conf @@ -1,4 +1,4 @@ -# $OpenBSD: ifstated.conf,v 1.5 2005/02/03 17:51:12 mpf Exp $ +# $OpenBSD: ifstated.conf,v 1.6 2005/02/07 06:08:10 david 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 @@ -37,8 +37,8 @@ state primary { run "ifconfig carp0 advskew 10" run "ifconfig carp1 advskew 10" } - if ! $net - set-state demoted + if ! $net + set-state demoted } state demoted { @@ -46,8 +46,8 @@ state demoted { run "ifconfig carp0 advskew 254" run "ifconfig carp1 advskew 254" } - if $net - set-state primary + if $net + set-state primary } state promoted { @@ -65,7 +65,7 @@ state backup { run "ifconfig carp1 advskew 100" } # The "sleep 5" below is a hack to dampen the $carp_sync when we come - # out of promoted state. Thinking about the correct fix... + # out of promoted state. Thinking about the correct fix... if ! $carp_sync && $net && "sleep 5" every 10 if ! $carp_sync && $net set-state promoted |