projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: fix compiler warnings
[project/odhcpd.git]
/
src
/
odhcpd.c
diff --git
a/src/odhcpd.c
b/src/odhcpd.c
index fafa3f68642781e82fcfeb459c443fe14ad81a90..8906384a65cdd1a63c84171e038b48ea687a58bd 100644
(file)
--- a/
src/odhcpd.c
+++ b/
src/odhcpd.c
@@
-300,19
+300,6
@@
struct interface* odhcpd_get_interface_by_index(int ifindex)
return NULL;
}
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)
{
/* Convenience function to receive and do basic validation of packets */
static void odhcpd_receive_packets(struct uloop_fd *u, _unused unsigned int events)
{