Fix sysctl_ifmalist() broken in r265019.
Reported by: Olivier Cochard-Labbé MFC with: r265019
This commit is contained in:
parent
bb33a54f34
commit
1f938512ab
@ -1741,7 +1741,7 @@ sysctl_ifmalist(int af, struct walkarg *w)
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user