New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pcap_setmode(m_PcapDescriptor, MODE_CAPT) fails #558
Comments
Thanks for the report. Can you provide your DiagReport output and any info on whether other pcap functions are working for you? MODE_CAPT is the default, so unless the descriptor was in MODE_STAT previously, it shouldn't make a difference whether that function is called. (This is an implementation detail and should not be taken to mean that pcap_setmode will never need to be called in other versions, releases, or forks. I mentioned it because it may help us with debugging only.) |
Which exactly other pcap functions are you interesting in? There are several at initialization process (I'm using that over pcap++, they have related issue for this seladb/PcapPlusPlus#680 which I came from) like pcap_create, pcap_set_timeout, pcap_set_buffer_size, pcap_activate, pcap_datalink - they are ok. |
This is a regression in Npcap 1.50 and 1.55 due to the change in f82685f which assumed incorrectly that each The handler for |
Fixed in Npcap 1.60. |
I'm using npcap in winpcap compatibility mode on windows 11.
When calling pcap_setmode(m_PcapDescriptor, MODE_CAPT) it fails on the DeviceIoControl call inside of PacketSetMode(LPADAPTER AdapterObject,int mode) function.
This seems to be a kind of regression of new releases:
in 1.55 and 1.50 builds call is failing,
1.31 works ok.
The text was updated successfully, but these errors were encountered: