[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	pascoe_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2004/12/21 23:04:34

Modified files:
	sys/netinet    : ip_carp.c 

Log message:
Instead of running carp_setroute synchronously, use if_addrhooks to get a
callback after in_ifinit has run.  This lets us correct any routes that
in_ifinit has incorrectly added for our interface.

Also be more explicit with the routing checks/changes that we make.  This
makes it possible to have different prefix lengths on a CARP interface and
the physical interface it is bound to.

ok mcbride@