diff options
author | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2006-03-26 14:54:02 +0000 |
---|---|---|
committer | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2006-03-26 14:54:02 +0000 |
commit | 595c603feaeb1ce162dc314c703391615ec9c7af (patch) | |
tree | 59fe4e0bc91578838399fa276ccda5b6e870ee2d /sys/netinet/ip_carp.c | |
parent | fbd2ac91664ec47555db71d85a00a562c59eb16b (diff) |
if_link_state_change() is more appropriate here.
ok henning mcbride
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r-- | sys/netinet/ip_carp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index d9922e4b4dc..ae5c4f3e6cc 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.122 2006/03/25 22:41:48 djm Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.123 2006/03/26 14:54:01 camield Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -2026,7 +2026,7 @@ carp_set_state(struct carp_softc *sc, int state) sc->sc_if.if_link_state = LINK_STATE_UNKNOWN; break; } - rt_ifmsg(&sc->sc_if); + if_link_state_change(&sc->sc_if); } void |