summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2016-03-29 19:27:00 +0200
committerDenys Vlasenko2016-03-29 19:27:00 +0200
commit9844d7e830a2c55421e27e8828d2067c50f57c23 (patch)
treea2da20233ae75a208edbc5b36464f7685a6849d8
parent20dd49934146bdcfdfc58ee4f8f566ecda1dda77 (diff)
downloadbusybox-9844d7e830a2c55421e27e8828d2067c50f57c23.zip
busybox-9844d7e830a2c55421e27e8828d2067c50f57c23.tar.gz
Revert "networking: properly initialize ipv6 scope id for printing it"
This reverts commit 2fb63292f7083fb259a3f8d8ee70ef8acdaed626. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/networking/interface.c b/networking/interface.c
index 90c1449..e5723b4 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -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);