summaryrefslogtreecommitdiff
path: root/nhrpd/netlink_arp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nhrpd/netlink_arp.c')
-rw-r--r--nhrpd/netlink_arp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nhrpd/netlink_arp.c b/nhrpd/netlink_arp.c
index 3658cb16bb..cd7fb7aed4 100644
--- a/nhrpd/netlink_arp.c
+++ b/nhrpd/netlink_arp.c
@@ -100,7 +100,7 @@ static void netlink_log_indication(struct nlmsghdr *msg, struct zbuf *zb)
nhrp_peer_send_indication(ifp, htons(pkthdr->hw_protocol), &pktpl);
}
-static int netlink_log_recv(struct thread *t)
+static void netlink_log_recv(struct thread *t)
{
uint8_t buf[ZNL_BUFFER_SIZE];
int fd = THREAD_FD(t);
@@ -124,8 +124,6 @@ static int netlink_log_recv(struct thread *t)
thread_add_read(master, netlink_log_recv, 0, netlink_log_fd,
&netlink_log_thread);
-
- return 0;
}
void netlink_set_nflog_group(int nlgroup)