mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
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:
parent
20dd499341
commit
9844d7e830
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user