lkml.org 
[lkml]   [1998]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Dynamic IP hack
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:1.943 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site