X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Frouter.c;h=990782426967271a985eec10e558d95d76cb57b4;hp=74d8a09d8fe44fde93f145133bfaac50f95600a2;hb=e60710d1fe0c5bf19b9acf9b116e0645e8e114d1;hpb=aa3a13659ad6d2934f31e47a805b462269645f2d 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