diff options
author | will <will@FreeBSD.org> | 2015-01-23 14:30:24 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2015-01-23 14:30:24 +0000 |
commit | af1640da48175acae16b54fd047a6b5a43ad4c2c (patch) | |
tree | 14f39d9b619b1321b0463008e18e15994b7b75ba | |
parent | c2f9a8c8d99de94fd8673e277da83c6b717c0f66 (diff) | |
download | FreeBSD-src-af1640da48175acae16b54fd047a6b5a43ad4c2c.zip FreeBSD-src-af1640da48175acae16b54fd047a6b5a43ad4c2c.tar.gz |
Log hardware interface up/down as "hardware" rather than just "hw".
Suggested by: glebius
MFC after: 1 week
MFC with: 277530
-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 b888104..524ebd8 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -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"); |