projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73dfdda
)
networking: properly initialize ipv6 scope id for printing it
author
Timo Teräs
<timo.teras@iki.fi>
Mon, 28 Mar 2016 20:16:48 +0000
(22:16 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 28 Mar 2016 20:16:48 +0000
(22:16 +0200)
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/interface.c
patch
|
blob
|
history
diff --git
a/networking/interface.c
b/networking/interface.c
index e5723b42830511c466fc193c912a1076846abae6..90c1449b37309d2a8cc1eb241812c170ae4bb6a1 100644
(file)
--- a/
networking/interface.c
+++ b/
networking/interface.c
@@
-885,6
+885,7
@@
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);