Revert "networking: properly initialize ipv6 scope id for printing it"

This reverts commit 2fb63292f7.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2016-03-29 19:27:00 +02:00
parent 20dd499341
commit 9844d7e830

View File

@ -885,7 +885,6 @@ static void ife_print6(struct interface *ptr)
inet_pton(AF_INET6, addr6, inet_pton(AF_INET6, addr6,
(struct sockaddr *) &sap.sin6_addr); (struct sockaddr *) &sap.sin6_addr);
sap.sin6_family = AF_INET6; sap.sin6_family = AF_INET6;
sap.sin6_scope_id = scope;
printf(" inet6 addr: %s/%d", printf(" inet6 addr: %s/%d",
INET6_sprint((struct sockaddr *) &sap, 1), INET6_sprint((struct sockaddr *) &sap, 1),
plen); plen);