Просмотр исходного кода

Revert "totemip: compare sin6_scope_id and interface_num"

This reverts commit 23b21ba3a2542bd5459922291629420ceb1d0c4d to make
needle compile after revert of 65d66ae98a139895a089d8c6c47899122324b04c.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Jan Friesse 5 лет назад
Родитель
Сommit
c245e97962
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      exec/totemip.c

+ 0 - 3
exec/totemip.c

@@ -494,9 +494,6 @@ int totemip_iface_check(struct totem_ip_address *bindnet,
 		if (addr_len == 0)
 		if (addr_len == 0)
 			continue ;
 			continue ;
 
 
-		if (bindnet->sin6_scope_id != 0 && bindnet->sin6_scope_id != if_addr->interface_num)
-			continue;
-
 		totemip_copy(&bn_netaddr, bindnet);
 		totemip_copy(&bn_netaddr, bindnet);
 		totemip_copy(&if_netaddr, &if_addr->ip_addr);
 		totemip_copy(&if_netaddr, &if_addr->ip_addr);