Skip to content

Npcap 0.992 regression: pcap_lib_version  #1566

@gpotter2

Description

@gpotter2

Hi !

We use pcap_lib_version to detect which version the user is running (basically we used to parse for Npcap instead of Winpcap), as advised by the doc:

https://github.com/nmap/npcap/blob/a8982716bd2d7a080b43aeb97507a681f48dacee/docs/npcap-devguide.xml#L129-L145

However this behavior has changed:

  • with 0.992
>>> pcap_lib_version()
b'libpcap version 1.9.0 (packet.dll version 0.992)'
  • with 0.991
>>> pcap_lib_version()
b'Npcap version 0.991, based on libpcap version 1.8.1'

This breaks the detection. If this is expected, please update the doc accordingly :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions