summaryrefslogtreecommitdiffstats
path: root/pimd/pim_sock.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-25 01:54:21 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-25 02:34:28 +0200
commite691f179b6c6fc26536e68958f19ff6983a03274 (patch)
tree9b00aba37c7ce79b5f51b314d1a7aa66fa127682 /pimd/pim_sock.h
parenteigrpd, ospfd: Cleanup inet_aton return code checking (diff)
downloadfrr-e691f179b6c6fc26536e68958f19ff6983a03274.tar.xz
frr-e691f179b6c6fc26536e68958f19ff6983a03274.zip
pimd: Cleanup a variety of SA issues
1) Error check return from setsockopt and sockets 2) Check return codes for str2prefix 3) Clean up some potential NULL References Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_sock.h')
-rw-r--r--pimd/pim_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h
index aa46cd620..358dd39a4 100644
--- a/pimd/pim_sock.h
+++ b/pimd/pim_sock.h
@@ -36,7 +36,7 @@
#define PIM_SOCK_ERR_BIND (-11) /* Can't bind to interface */
int pim_socket_bind(int fd, struct interface *ifp);
-int pim_socket_ip_hdr(int fd);
+void pim_socket_ip_hdr(int fd);
int pim_socket_raw(int protocol);
int pim_socket_mcast(int protocol, struct in_addr ifaddr, struct interface *ifp,
u_char loop);