Log hardware interface up/down as "hardware" rather than just "hw".
Suggested by: glebius MFC after: 1 week MFC with: 277530
This commit is contained in:
parent
c2f9a8c8d9
commit
af1640da48
@ -2001,13 +2001,13 @@ carp_sc_state(struct carp_softc *sc)
|
||||
#ifdef INET6
|
||||
callout_stop(&sc->sc_md6_tmo);
|
||||
#endif
|
||||
carp_set_state(sc, INIT, "hw interface down");
|
||||
carp_set_state(sc, INIT, "hardware interface down");
|
||||
carp_setrun(sc, 0);
|
||||
if (!sc->sc_suppress)
|
||||
carp_demote_adj(V_carp_ifdown_adj, "interface down");
|
||||
sc->sc_suppress = 1;
|
||||
} else {
|
||||
carp_set_state(sc, INIT, "hw interface up");
|
||||
carp_set_state(sc, INIT, "hardware interface up");
|
||||
carp_setrun(sc, 0);
|
||||
if (sc->sc_suppress)
|
||||
carp_demote_adj(-V_carp_ifdown_adj, "interface up");
|
||||
|
Loading…
Reference in New Issue
Block a user