net/netlink/netlink_route.c: Fix a typo.

This commit is contained in:
Gregory Nutt 2020-02-13 11:44:35 -06:00 committed by Alan Carvalho de Assis
parent 46ad645efc
commit 0b25b96759

View File

@ -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