[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140104104413.GC9295@minipsycho.orion>
Date: Sat, 4 Jan 2014 11:44:13 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Thomas Haller <thaller@...hat.com>
Cc: netdev@...r.kernel.org, stephen@...workplumber.org
Subject: Re: [PATCH 1/1] fixup! add support for IFA_F_MANAGETEMPADDR
Thu, Jan 02, 2014 at 04:50:15PM CET, thaller@...hat.com wrote:
>Signed-off-by: Thomas Haller <thaller@...hat.com>
>---
> I think, also the following changes are needed(??)
Right. I will incorporate this into the patch and send v3. Thanks Thomas
>
> ip/ipaddress.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
>diff --git a/ip/ipaddress.c b/ip/ipaddress.c
>index 5dbb017..b0d54fe 100644
>--- a/ip/ipaddress.c
>+++ b/ip/ipaddress.c
>@@ -82,7 +82,7 @@ static void usage(void)
> fprintf(stderr, " tentative | deprecated | dadfailed | temporary |\n");
> fprintf(stderr, " CONFFLAG-LIST ]\n");
> fprintf(stderr, "CONFFLAG-LIST := [ CONFFLAG-LIST ] CONFFLAG\n");
>- fprintf(stderr, "CONFFLAG := [ home | nodad ]\n");
>+ fprintf(stderr, "CONFFLAG := [ home | nodad | mngtmpaddr ]\n");
> fprintf(stderr, "LIFETIME := [ valid_lft LFT ] [ preferred_lft LFT ]\n");
> fprintf(stderr, "LFT := forever | SECONDS\n");
>
>@@ -1130,6 +1130,9 @@ static int ipaddr_list_flush_or_save(int argc, char **argv, int action)
> } else if (strcmp(*argv, "nodad") == 0) {
> filter.flags |= IFA_F_NODAD;
> filter.flagmask |= IFA_F_NODAD;
>+ } else if (strcmp(*argv, "mngtmpaddr") == 0) {
>+ filter.flags |= IFA_F_MANAGETEMPADDR;
>+ filter.flagmask |= IFA_F_MANAGETEMPADDR;
> } else if (strcmp(*argv, "dadfailed") == 0) {
> filter.flags |= IFA_F_DADFAILED;
> filter.flagmask |= IFA_F_DADFAILED;
>--
>1.8.4.2
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists