Revert "networking: properly initialize ipv6 scope id for printing it"
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 29 Mar 2016 17:27:00 +0000 (19:27 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 29 Mar 2016 17:27:00 +0000 (19:27 +0200)
This reverts commit 2fb63292f7083fb259a3f8d8ee70ef8acdaed626.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/interface.c

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