summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-02-10 10:57:34 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-02-10 11:02:31 +0100
commitfa57225cb62b43adffc37a50c3dbd3fa7d225b0b (patch)
tree56485c14539f8aefe5cc6cc6710473f8baaffb16 /src/odhcpd.h
parentac70d28ed6ec96e6911cdf56b903f5c5ee3e67c5 (diff)
ndp: deregister netlink event socket for non recoverable errors
Deregister netlink event socket in case of error different from ENOBUFS or failure to set netlink rx buffer size Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 393194c..fb78ec0 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -188,6 +188,7 @@ extern struct list_head interfaces;
// Exported main functions
int odhcpd_register(struct odhcpd_event *event);
+int odhcpd_deregister(struct odhcpd_event *event);
void odhcpd_process(struct odhcpd_event *event);
struct nl_sock *odhcpd_create_nl_socket(int protocol);