svn commit: r277564 - head/sys/netinet

Will Andrews will at FreeBSD.org
Fri Jan 23 14:30:25 UTC 2015


Author: will
Date: Fri Jan 23 14:30:24 2015
New Revision: 277564
URL: https://svnweb.freebsd.org/changeset/base/277564

Log:
  Log hardware interface up/down as "hardware" rather than just "hw".
  
  Suggested by:	glebius
  MFC after:	1 week
  MFC with:	277530

Modified:
  head/sys/netinet/ip_carp.c

Modified: head/sys/netinet/ip_carp.c
==============================================================================
--- head/sys/netinet/ip_carp.c	Fri Jan 23 14:28:12 2015	(r277563)
+++ head/sys/netinet/ip_carp.c	Fri Jan 23 14:30:24 2015	(r277564)
@@ -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");


More information about the svn-src-all mailing list