Skip to content

Commit

Permalink
Bump version and changelog for Npcap 1.00 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Sep 25, 2020
1 parent 02e6284 commit b2821e3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
* After more than 7 years of development and 170 previous public releases, the
Nmap Project is delighted to release Npcap version 1.00!

* New Packet.dll function `PacketGetTimestampModes()` to retrieve supported
packet timestamping modes. These do not currently vary by adapter, but
`TIMESTAMPMODE_QUERYSYSTEMTIME_PRECISE` is not supported on Windows 7, for
example. Fixes [#174](http://issues.npcap.org/174).

## Npcap 0.9997 [2020-08-25]

* Fix an integer underflow in the amount of free buffer space available leading
Expand Down
4 changes: 2 additions & 2 deletions packetWin7/npf/npf/Packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,9 @@ NPF_registerLWF(

pFChars->MajorNdisVersion = NDIS_FILTER_MAJOR_VERSION;
pFChars->MinorNdisVersion = NDIS_FILTER_MINOR_VERSION;
// WINPCAP_MAJOR is 5 for Npcap
pFChars->MajorDriverVersion = WINPCAP_MINOR;
/* TODO: Stop using minor version numbers greater than 255 */
pFChars->MinorDriverVersion = WINPCAP_REV % MAXUCHAR;
pFChars->MinorDriverVersion = WINPCAP_REV;
pFChars->Flags = 0;

// Use different names for the WiFi driver.
Expand Down
9 changes: 5 additions & 4 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,14 @@
#define /*
!define /**/ WINPCAP_MAJOR 5
#define /*
!define /**/ WINPCAP_MINOR 0
!define /**/ WINPCAP_MINOR 1
/* WINPCAP_REV should be less than 256 to fit in UCHAR */
#define /*
!define /**/ WINPCAP_REV 9997
!define /**/ WINPCAP_REV 0
#define /*
!define /**/ WINPCAP_BUILD 824
!define /**/ WINPCAP_BUILD 924
#define /*
!define /**/ WINPCAP_VER_STRING "0.9997"
!define /**/ WINPCAP_VER_STRING "1.00"

#define WINPCAP_WPCAP_STRING_VERSION WINPCAP_VER_STRING

Expand Down

0 comments on commit b2821e3

Please sign in to comment.