Merge "Fix IPv6 standby controller boot loop"

This commit is contained in:
Zuul 2019-09-10 01:49:47 +00:00 committed by Gerrit Code Review
commit 986825c832
2 changed files with 1 additions and 13 deletions

View File

@ -2,4 +2,4 @@ SRC_DIR=$PKG_BASE
COPY_LIST="$PKG_BASE/LICENSE"
TAR_NAME=sm
VERSION=1.0.0
TIS_PATCH_VER=30
TIS_PATCH_VER=33

View File

@ -2691,18 +2691,6 @@ static SmErrorT sm_msg_open_ipv6_udp_multicast_socket(
return( SM_FAILED );
}
// Set multicast interface on socket.
result = setsockopt( sock, IPPROTO_IPV6, IPV6_MULTICAST_IF,
&(interface->id), sizeof(interface->id) );
if( 0 > result )
{
DPRINTFE( "Failed to set unicast address on socket for "
"interface (%s), error=%s.", interface->interface_name,
strerror( errno ) );
close( sock );
return( SM_FAILED );
}
// Bind socket to interface.
memset( &ifr, 0, sizeof(ifr) );
snprintf( ifr.ifr_name, sizeof(ifr.ifr_name), "%s",