Luca:

The attached patch fixes the basic problem with ntop and virtual (alias)
interfaces.

If you've followed the thread, there's a visible problem and an underlying
problem.

The visual problem is that if you start ntop on an interface that has
aliases (virtual) interfaces, it says:

Listening on [eth0,eth0]

in the log.  The patch changes that to

Listening on [eth0,eth0:0]

which is better and more accurate.

The underlying problem is that the virtual device isn't marked as such, so
the plugin loader attempts to set a pcap filter on it and blows up.

However - this type of patch often has far reaching implications, so I'm
sending it to you for review rather than just applying it.  Especially as
I'll be OOO for two weeks.


-----Burton

Attachment: BMS0377-virtualdevices.patch
Description: Binary data

Reply via email to