Well I guess I solved my own problem, it turns out that my
/etc/protocols.list had each entry on a different line rather than all
on one line. This turned out to be the source fo the extra newline
characters.
Wally
[EMAIL PROTECTED] wrote:
> I've experienced difficulty with protoUsage.pl. It appears the some of
> the elements of the ntopHash have an extra newline character in front of
> their names. In order to get protoUsage.pl to work I had to change it
> as follows.
>
> example:
>
> $e =
>
>$ntopHash{$if}{IP}{"\nNBios-IP"}{local}+$ntopHash{$if}{IP}{"\nNBios-IP"}{local2remote}
>
>
>
>+$ntopHash{$if}{IP}{"\nNBios-IP"}{remote2local}+$ntopHash{$if}{IP}{"\nNBios-IP"}{remote};
>
>
>
> without the newline characters, I get all zeros instead of the correct
> values.
>
> Wally
>
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listmanager.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop