> -----Original Message----- > From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of > Stuart Henderson > Sent: Tuesday, September 29, 2009 5:05 PM > To: Laurent CARON > Cc: OpenBSD > Subject: Re: ifstated with carp0 > ... > yep, using ifconfig like that isn't really very clean - > does this help at all? > > Index: ifstated.c > =================================================================== ...
This was a no-go for me on 4.5-stable. The effect was the same, no change on a carp transition. Here are my detection macros: primary = "carp0.link.up && carp10.link.up && carp11.link.up" backup = "carp0.link.down && carp10.link.down && carp11.link.down" So I tried a simpler one, primary = "carp0.link.up" backup = "carp0.link.down " Carp transition detection worked (with the new code AND the old code). -Steve S.