From: Stephen Hemminger <shemminger@osdl.org>
To: Thomas Graf <tgraf@suug.ch>
Cc: Masahide NAKAMURA <nakam@linux-ipv6.org>, netdev@vger.kernel.org
Subject: Re: [PATCH 3/7] [IP] RULE: Add ifdef to FIB_RULE_INVERT since it is missing.
Date: Tue, 5 Dec 2006 10:02:11 -0800 [thread overview]
Message-ID: <20061205100211.0a766673@freekitty> (raw)
In-Reply-To: <20061205104231.GX8693@postel.suug.ch>
On Tue, 5 Dec 2006 11:42:31 +0100
Thomas Graf <tgraf@suug.ch> wrote:
> * Masahide NAKAMURA <nakam@linux-ipv6.org> 2006-12-05 19:15
> > Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
> > ---
> > ip/iprule.c | 4 ++++
> > 1 files changed, 4 insertions(+), 0 deletions(-)
> >
> > diff --git a/ip/iprule.c b/ip/iprule.c
> > index c584b18..1da64b8 100644
> > --- a/ip/iprule.c
> > +++ b/ip/iprule.c
> > @@ -83,8 +83,10 @@ int print_rule(const struct sockaddr_nl
> > else
> > fprintf(fp, "0:\t");
> >
> > +#ifdef FIB_RULE_INVERT
> > if (r->rtm_flags & FIB_RULE_INVERT)
> > fprintf(fp, "not ");
> > +#endif
> >
> > if (tb[RTA_SRC]) {
> > if (r->rtm_src_len != host_len) {
> > @@ -224,7 +226,9 @@ static int iprule_modify(int cmd, int ar
> >
> > while (argc > 0) {
> > if (strcmp(*argv, "not") == 0) {
> > +#ifdef FIB_RULE_INVERT
> > req.r.rtm_flags |= FIB_RULE_INVERT;
> > +#endif
> > } else if (strcmp(*argv, "from") == 0) {
> > inet_prefix dst;
> > NEXT_ARG();
>
> It's missing because you removed it.
Not applied, FIB_RULE_INVERT stays
--
Stephen Hemminger <shemminger@osdl.org>
prev parent reply other threads:[~2006-12-05 18:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-05 10:15 [PATCH 3/7] [IP] RULE: Add ifdef to FIB_RULE_INVERT since it is missing Masahide NAKAMURA
2006-12-05 10:42 ` Thomas Graf
2006-12-05 18:02 ` Stephen Hemminger [this message]
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=20061205100211.0a766673@freekitty \
--to=shemminger@osdl.org \
--cc=nakam@linux-ipv6.org \
--cc=netdev@vger.kernel.org \
--cc=tgraf@suug.ch \
/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).