mirror of https://github.com/FRRouting/frr.git
babeld: During intf startup, ignore address already in use
When listening on a multicast group. No need to actually fail the operation when it's already being used. Let's not treat the Address already in use error message as one that is stopping everything from working. Especially since multiple interface events cause this to happen. Without this, if config is read in before full connection to zebra, babel will never establish neighbors. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
403081e12a
commit
6d078ff808
|
@ -632,7 +632,7 @@ interface_recalculate(struct interface *ifp)
|
|||
|
||||
rc = setsockopt(protocol_socket, IPPROTO_IPV6, IPV6_JOIN_GROUP,
|
||||
(char*)&mreq, sizeof(mreq));
|
||||
if(rc < 0) {
|
||||
if (rc < 0 && errno != EADDRINUSE) {
|
||||
flog_err_sys(EC_LIB_SOCKET,
|
||||
"setsockopt(IPV6_JOIN_GROUP) on interface '%s': %s",
|
||||
ifp->name, safe_strerror(errno));
|
||||
|
|
Loading…
Reference in New Issue