Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
int buf_idx;
};
-void dhcpv6_write_ia_addr(struct in6_addr *addr, int prefix, _unused uint32_t pref,
+static void dhcpv6_write_ia_addr(struct in6_addr *addr, int prefix, _unused uint32_t pref,
_unused uint32_t valid, void *arg)
{
struct write_ctxt *ctxt = (struct write_ctxt *)arg;
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)
{