aboutsummaryrefslogtreecommitdiff
path: root/gencode.h
diff options
context:
space:
mode:
authorgianluca <gianluca>2007-02-19 18:35:06 +0000
committergianluca <gianluca>2007-02-19 18:35:06 +0000
commit04203b96b616f77bc72321350d39c8a91edeec36 (patch)
treeb4ce94f8515e09109da04094b09ac0cc47c567c2 /gencode.h
parentd02424cd4c996bcb07bd69084bff492599e3fb47 (diff)
Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter was
not checked. This was the culprit of WinPcap failing to capture on wireless adapters when in promiscuous mode. Most of the wireless adapters drivers do not support the promiscuous hardware, and fail the HW filter OID request. This failure was not detected by pcap_open_live(), and resulted in no packets being captured as no hw filter was actually set at the driver level (no hw filter means "reject all").
Diffstat (limited to 'gencode.h')
0 files changed, 0 insertions, 0 deletions