ndp: harden netlink event socket error handling
[project/odhcpd.git] / src / odhcpd.h
index fb6b182..393194c 100644 (file)
@@ -66,8 +66,8 @@ struct odhcpd_event {
        struct uloop_fd uloop;
        void (*handle_dgram)(void *addr, void *data, size_t len,
                        struct interface *iface, void *dest_addr);
-       void (*handle_error)(int error);
-       void (*recv_msgs)(struct odhcpd_event *ev);
+       void (*handle_error)(struct odhcpd_event *e, int error);
+       void (*recv_msgs)(struct odhcpd_event *e);
 };