summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pimd/pim_igmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_igmp.c b/pimd/pim_igmp.c
index f2b909e26..73dcdbddb 100644
--- a/pimd/pim_igmp.c
+++ b/pimd/pim_igmp.c
@@ -1028,8 +1028,8 @@ struct igmp_sock *pim_igmp_sock_add(struct list *igmp_sock_list,
sin.sin_addr = ifaddr;
sin.sin_port = 0;
if (bind(fd, (struct sockaddr *) &sin, sizeof(sin)) != 0) {
- zlog_warn("Could not bind IGMP socket for %pI4 on %s",
- &ifaddr, ifp->name);
+ zlog_warn("Could not bind IGMP socket for %pI4 on %s: %s(%d)",
+ &ifaddr, ifp->name, strerror(errno), errno);
close(fd);
return NULL;