pimd: Only make the pim sockets non blocking.

Only make the pim sockets non-blocking on reads.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-11-18 14:11:31 -05:00
parent 8e4c9ef376
commit 18e565fd96

View File

@ -230,6 +230,7 @@ int pim_socket_mcast(int protocol, struct in_addr ifaddr, int ifindex, u_char lo
zlog_warn("%s: Failure to set buffer size to %d", zlog_warn("%s: Failure to set buffer size to %d",
__PRETTY_FUNCTION__, rcvbuf); __PRETTY_FUNCTION__, rcvbuf);
if (protocol == IPPROTO_PIM)
{ {
long flags; long flags;