Update of /export/home/ntop/ntop
In directory jabber:/tmp/cvs-serv7336
Modified Files:
webInterface.c
Log Message:
Although the documentation would have led you to believe otherwise, the -w
and -W parameters ignored any address they were given when binding to the
sockets. Thus -w 192.168.0.1:3000 and -w 3000 behaved the same. This
caused unexpected behavior when multiple addresses were defined for the
same interface, or multiple interfaces existed in the machine.
The code which used INADDR_ANY has been replaced to use the given value,
if it can be translated to an interface, with the log message:
Unable to convert address '%s'... Not binding to a particular interface!
A bogus value (or none at all) reverts to the previous, expected (?) behavior.
Under MinGW, which apparently doesn't support this facility, ntop continues
to use INADDR_ANY.
Finally, for completeness, the address was added to the "waiting for" message
text for the SSL connection, just like it was already present for non-SSL.
-----Burton (ref BMS-0077)
Thanks to Razvan Cosma [[EMAIL PROTECTED]] for also testing
this patch.
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev