* Matthew Toseland <[EMAIL PROTECTED]> [2007-12-19 19:08:52]: > On Wednesday 19 December 2007 19:04, Florent Daignière wrote: > > * Matthew Toseland <[EMAIL PROTECTED]> [2007-12-19 18:23:35]: > > > > > I don't understand the fix. It's supposed to randomize it and then record > the > > > new port number? > > > > I'm ensuring that -1 isn't used as a port number in freenet.ini (because the > > code doesn't handle it properly: can't overwrite it and keeps on > > re-generating a new freenet.ini). > > Well, if port number is -1, we will pick a random node. The only problem is > that it won't write it to disk. We need to set a flag somehow and force the > config to be written to disk as soon as we've finished registering stuff on > it. (Perhaps in finishedInit() ?)
If port number is -1 in freenet.ini the problem is between the chair and the keyboard! If you want the node to randomize the port "properly", don't set it: remove the line! That fix is preventing the problem from breaking more things, that's all ;) NextGen$
signature.asc
Description: Digital signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
