Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2014 17:57:06 +0000 (UTC)
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265283 - head/sys/net
Message-ID:  <201405031757.s43Hv6B2082213@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405031757.s43Hv6B2082213>