From 0b25b967591b48b505d541b17e6f23701809c21b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 13 Feb 2020 11:44:35 -0600 Subject: [PATCH] net/netlink/netlink_route.c: Fix a typo. --- net/netlink/netlink_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netlink/netlink_route.c b/net/netlink/netlink_route.c index 305e26cee5..0b0984b31a 100644 --- a/net/netlink/netlink_route.c +++ b/net/netlink/netlink_route.c @@ -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