svn commit: r265283 - head/sys/net

Alexander V. Chernikov melifaro at FreeBSD.org
Sat May 3 17:57:06 UTC 2014


Author: melifaro
Date: Sat May  3 17:57:06 2014
New Revision: 265283
URL: http://svnweb.freebsd.org/changeset/base/265283

Log:
  Fix sysctl_ifmalist() broken in r265019.
  
  Reported by:	Olivier Cochard-Labbé
  MFC with:	r265019

Modified:
  head/sys/net/rtsock.c

Modified: head/sys/net/rtsock.c
==============================================================================
--- head/sys/net/rtsock.c	Sat May  3 17:39:03 2014	(r265282)
+++ head/sys/net/rtsock.c	Sat May  3 17:57:06 2014	(r265283)
@@ -1741,7 +1741,7 @@ sysctl_ifmalist(int af, struct walkarg *
 			info.rti_info[RTAX_GATEWAY] =
 			    (ifma->ifma_addr->sa_family != AF_LINK) ?
 			    ifma->ifma_lladdr : NULL;
-			error = rtsock_msg_buffer(RTM_NEWADDR, &info, w, &len);
+			error = rtsock_msg_buffer(RTM_NEWMADDR, &info, w, &len);
 			if (error != 0)
 				goto done;
 			if (w->w_req && w->w_tmem) {


More information about the svn-src-all mailing list