diff options
Diffstat (limited to 'source3/lib/interface.c')
-rw-r--r-- | source3/lib/interface.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/lib/interface.c b/source3/lib/interface.c index 9d073bc08c..9627bf63dd 100644 --- a/source3/lib/interface.c +++ b/source3/lib/interface.c @@ -100,14 +100,6 @@ void setup_linklocal_scope_id(struct sockaddr_storage *pss) return; } } - for (i=local_interfaces;i;i=i->next) { - if (same_net(pss, &i->ip, &i->netmask)) { - struct sockaddr_in6 *psa6 = - (struct sockaddr_in6 *)pss; - psa6->sin6_scope_id = if_nametoindex(i->name); - return; - } - } } #endif |