diff options
Diffstat (limited to 'src/odhcpd.c')
-rw-r--r-- | src/odhcpd.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/odhcpd.c b/src/odhcpd.c index 46878f7..fafa3f6 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -300,20 +300,6 @@ struct interface* odhcpd_get_interface_by_index(int ifindex) return NULL; } - -struct interface* odhcpd_get_interface_by_name(const char *name) -{ - struct interface *iface; - - avl_for_each_element(&interfaces, iface, avl) { - if (!strcmp(iface->ifname, name)) - return iface; - } - - return NULL; -} - - struct interface* odhcpd_get_master_interface(void) { struct interface *iface; |