mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
net/netlink/netlink_route.c: Fix a typo.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
46ad645efc
commit
0b25b96759
@@ -419,7 +419,7 @@ static int netlink_device_callback(FAR struct net_driver_s *dev,
|
||||
resp->iface.ifi_pid = devinfo->req->hdr.nlmsg_pid;
|
||||
resp->iface.ifi_type = devinfo->req->hdr.nlmsg_type;
|
||||
#ifdef CONFIG_NETDEV_IFINDEX
|
||||
resp->iface.ifi_index = dev->dd_ifindex;
|
||||
resp->iface.ifi_index = dev->d_ifindex;
|
||||
#else
|
||||
resp->iface.ifi_index = 0;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user