summaryrefslogtreecommitdiffhomepage
path: root/src/router.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-11-16 12:10:24 +0100
committerSteven Barth <steven@midlink.org>2015-11-16 12:10:52 +0100
commite60710d1fe0c5bf19b9acf9b116e0645e8e114d1 (patch)
tree9a3c3c9f8269d5f918d69aa34a428826850144f9 /src/router.c
parentaa3a13659ad6d2934f31e47a805b462269645f2d (diff)
Handle netlink ENOBUFS events
Diffstat (limited to 'src/router.c')
-rw-r--r--src/router.c2
1 files changed, 1 insertions, 1 deletions
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