diff options
Diffstat (limited to 'dev.c')
-rw-r--r-- | dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ #include "link.h" #include "built_in.h" -int device_ifindex_get(const char *ifname) +int __device_ifindex(const char *ifname) { int ret, sock, index; struct ifreq ifr; @@ -40,7 +40,7 @@ int device_ifindex_get(const char *ifname) int device_ifindex(const char *ifname) { - int index = device_ifindex_get(ifname); + int index = __device_ifindex(ifname); if (unlikely(index < 0)) panic("Cannot get ifindex from device!\n"); |