Alex Narinsky wrote:
From the Cisco tutorial (
the net mask combination "" is valid.

However, when I apply this combination to windump - windump "net mask"

I am getting the error:
windump: non-network bits set in " mask"

Why windump rejects this net/mask?

Because WinPcap does.

By the way tcpdump works in the same way.

Because libpcap does. (See "gen_mcode()".)

I *presume* the idea is to warn people if they get the network address or netmask wrong, so that one of the bits in the network address is part of the host part rather than the network part. Perhaps that's an excessively cautious check, and should be removed, and it should just strip off the host-part bits in the network address when generating the code.

================================================================== This is the WinPcap users list. It is archived at

To unsubscribe use mailto: [EMAIL PROTECTED]

Reply via email to