=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/ifstated.conf,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/etc/Attic/ifstated.conf 2005/02/03 17:51:12 1.5 +++ src/etc/Attic/ifstated.conf 2005/02/07 06:08:10 1.6 @@ -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 @@ 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 @@ 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 @@ 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