Re: Dynamic IP hack

Sascha Schumann (sas@schell.de)
Sun, 18 Oct 1998 10:58:40 +0200 (CEST)


On Sun, 18 Oct 1998, Malware wrote:

> Sascha Schumann wrote:
> > The behaviour of the code isn't correct in this context. A (sysctl & 3) is
> > only true, if the user has enabled verbosity and will always be false, if
> > he doesn't want to see something (`quiet mode').
>
> No. sysctl_ip_dynaddr&3 != 0 as soon as one of the first two bits is

Right. I'll have a coffee and go to bed then.

> set. So it is TRUE for the case the feature or the verbose mode is
> enabled. This is handled this way to be compatible with the original
> code.

Hm..why?

> With your change try to set sysctl_ip_dynaddr to 2 as documented
> and see what will happen - Nothing!

So, if I'd set dynaddr to 10 to get verbosity + asymetric routing hack,
then the code would behave as I would have enabled bit 0 which is
obviously not true. Lack of consistency for some compatibility?

Sascha

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/