X-Git-Url: http://git.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fodhcpd.c;fp=src%2Fodhcpd.c;h=8906384a65cdd1a63c84171e038b48ea687a58bd;hp=fafa3f68642781e82fcfeb459c443fe14ad81a90;hb=0e048ac6bffe3567be99e9e24cf739838f7dbfa5;hpb=83698f6b2a7abe0feb3da85d9991c2efe1ed5b6c diff --git a/src/odhcpd.c b/src/odhcpd.c index fafa3f6..8906384 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -300,19 +300,6 @@ struct interface* odhcpd_get_interface_by_index(int ifindex) return NULL; } -struct interface* odhcpd_get_master_interface(void) -{ - struct interface *iface; - - avl_for_each_element(&interfaces, iface, avl) { - if (iface->master) - return iface; - } - - return NULL; -} - - /* Convenience function to receive and do basic validation of packets */ static void odhcpd_receive_packets(struct uloop_fd *u, _unused unsigned int events) {