Re: Dynamic IP hack

Malware (Michael.Mueller4@post.rwth-aachen.de)
Sun, 18 Oct 1998 10:26:31 +0200


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
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. With your change try to set sysctl_ip_dynaddr to 2 as documented
and see what will happen - Nothing!

Malware

-
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/