[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] networking: properly initialize ipv6 scope id for printing it
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2016-03-28 20:17:31
Message-ID: CAK1hOcO_ZYohBvDr6sR_=FKYbBybB0qbvfP0ErHq_xBri8f1HQ () mail ! gmail ! com
[Download RAW message or body]

Applied, thanks!

On Mon, Mar 28, 2016 at 9:26 PM, Timo Teräs <timo.teras@iki.fi> wrote:
> Signed-off-by: Timo Teräs <timo.teras@iki.fi>
> ---
>  networking/interface.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/networking/interface.c b/networking/interface.c
> index 24bd13c..3f822d4 100644
> --- a/networking/interface.c
> +++ b/networking/interface.c
> @@ -884,6 +884,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);
> --
> 2.7.4
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic