From e60710d1fe0c5bf19b9acf9b116e0645e8e114d1 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 16 Nov 2015 12:10:24 +0100 Subject: Handle netlink ENOBUFS events --- src/router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/router.c') diff --git a/src/router.c b/src/router.c index 74d8a09..9907824 100644 --- a/src/router.c +++ b/src/router.c @@ -34,7 +34,7 @@ static void handle_icmpv6(void *addr, void *data, size_t len, static void trigger_router_advert(struct uloop_timeout *event); static void sigusr1_refresh(int signal); -static struct odhcpd_event router_event = {{.fd = -1}, handle_icmpv6}; +static struct odhcpd_event router_event = {{.fd = -1}, handle_icmpv6, NULL}; static FILE *fp_route = NULL; #define RA_IOV_LEN 6 -- cgit v1.2.3