From 05969d06380387fc6d093e80b142145c2a9c2293 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 16 Oct 2013 10:42:16 +0200 Subject: Minor fixes --- src/dhcpv4.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dhcpv4.c') diff --git a/src/dhcpv4.c b/src/dhcpv4.c index b4b0720..6f15a0a 100644 --- a/src/dhcpv4.c +++ b/src/dhcpv4.c @@ -49,6 +49,7 @@ int init_dhcpv4(void) int setup_dhcpv4_interface(struct interface *iface, bool enable) { if (iface->dhcpv4_event.uloop.fd > 0) { + uloop_fd_delete(&iface->dhcpv4_event.uloop); close(iface->dhcpv4_event.uloop.fd); iface->dhcpv4_event.uloop.fd = -1; } -- cgit v1.2.3