From: Thomas Haller <thaller@redhat.com>
To: netdev@vger.kernel.org
Cc: stephen@networkplumber.org, Jiri Pirko <jiri@resnulli.us>,
Thomas Haller <thaller@redhat.com>
Subject: [PATCH 1/1] fixup! add support for IFA_F_MANAGETEMPADDR
Date: Thu, 2 Jan 2014 16:50:15 +0100 [thread overview]
Message-ID: <1388677815-5815-1-git-send-email-thaller@redhat.com> (raw)
In-Reply-To: <1388676879-2603-3-git-send-email-jiri@resnulli.us>
Signed-off-by: Thomas Haller <thaller@redhat.com>
---
I think, also the following changes are needed(??)
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
next prev parent reply other threads:[~2014-01-02 15:50 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-02 15:34 [patch iproute2 v2 0/2] add support for IFA_F_MANAGETEMPADDR Jiri Pirko
2014-01-02 15:34 ` [patch iproute2 v2 1/2] add support for extended ifa_flags Jiri Pirko
2014-01-02 15:34 ` [patch iproute2 v2 2/2] add support for IFA_F_MANAGETEMPADDR Jiri Pirko
2014-01-02 15:50 ` Thomas Haller [this message]
2014-01-04 10:44 ` [PATCH 1/1] fixup! " Jiri Pirko
2014-01-02 17:29 ` [patch iproute2 v2 0/2] " Hannes Frederic Sowa
2014-01-04 10:43 ` Jiri Pirko
2014-01-04 10:55 ` Hannes Frederic Sowa
2014-01-04 11:05 ` Jiri Pirko
2014-01-04 11:15 ` Hannes Frederic Sowa
2014-01-04 11:21 ` Thomas Haller
2014-01-04 11:35 ` Hannes Frederic Sowa
2014-01-06 15:41 ` Thomas Haller
2014-01-06 16:01 ` Hannes Frederic Sowa
2014-01-06 17:29 ` [PATCH 1/1] ipv6 addrconf: add IFA_F_NOPREFIXROUTE flag to suppress creation of IP6 routes Thomas Haller
2014-01-06 17:38 ` Jiri Pirko
2014-01-07 9:39 ` Hannes Frederic Sowa
2014-01-07 12:01 ` Hannes Frederic Sowa
2014-01-07 12:14 ` Thomas Haller
2014-01-07 12:22 ` Hannes Frederic Sowa
2014-01-07 14:39 ` [PATCH v2 0/2] " Thomas Haller
2014-01-07 14:39 ` [PATCH v2 1/2] " Thomas Haller
2014-01-07 14:39 ` [PATCH v2 2/2] ipv6 addrconf: don't cleanup route prefix for IFA_F_NOPREFIXROUTE Thomas Haller
2014-01-07 16:28 ` Hannes Frederic Sowa
2014-01-07 18:32 ` Thomas Haller
2014-01-07 19:01 ` Hannes Frederic Sowa
2014-01-07 22:54 ` Thomas Haller
2014-01-07 23:09 ` Hannes Frederic Sowa
2014-01-07 16:03 ` [PATCH v2 0/2] ipv6 addrconf: add IFA_F_NOPREFIXROUTE flag to suppress creation of IP6 routes Hannes Frederic Sowa
2014-01-07 21:42 ` Thomas Haller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1388677815-5815-1-git-send-email-thaller@redhat.com \
--to=thaller@redhat.com \
--cc=jiri@resnulli.us \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).