[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120611.165740.419299184892679723.davem@davemloft.net>
Date: Mon, 11 Jun 2012 16:57:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tgraf@...g.ch
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ipv4: Add interface option to enable routing
of 127.0.0.0/8
From: Thomas Graf <tgraf@...g.ch>
Date: Fri, 8 Jun 2012 06:18:59 -0400
> - if (i == IPV4_DEVCONF_ACCEPT_LOCAL - 1)
> + if (i == IPV4_DEVCONF_ACCEPT_LOCAL - 1 ||
> + i == IPV4_DEVCONF_ROUTE_LOCALNET)
Why does one value get tested using "X - 1" indexing and the
other gets tested using plain "X" indexing?
--
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