[PATCH] ip: print dadfailed flag

Denys Vlasenko vda.linux at googlemail.com
Sat Jan 5 22:06:38 UTC 2019


Applied, thanks

On Mon, Dec 31, 2018 at 7:00 PM Kaarle Ritvanen
<kaarle.ritvanen at datakunkku.fi> wrote:
>
> Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen at datakunkku.fi>
> ---
>  networking/libiproute/ipaddress.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
> index 9ec665b69..d088caf4c 100644
> --- a/networking/libiproute/ipaddress.c
> +++ b/networking/libiproute/ipaddress.c
> @@ -327,6 +327,10 @@ static int FAST_FUNC print_addrinfo(const struct sockaddr_nl *who UNUSED_PARAM,
>                 ifa->ifa_flags &= ~IFA_F_TENTATIVE;
>                 printf("tentative ");
>         }
> +       if (ifa->ifa_flags & IFA_F_DADFAILED) {
> +               ifa->ifa_flags &= ~IFA_F_DADFAILED;
> +               printf("dadfailed ");
> +       }
>         if (ifa->ifa_flags & IFA_F_DEPRECATED) {
>                 ifa->ifa_flags &= ~IFA_F_DEPRECATED;
>                 printf("deprecated ");
> --
> 2.20.1
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list