Skip to content

Commit

Permalink
Bump up the version to 23.09 (#1209)
Browse files Browse the repository at this point in the history
  • Loading branch information
seladb authored Sep 26, 2023
1 parent 55f9825 commit 4cf8ed4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# We need 3.12 or later, so that we can set policy CMP0074; see below.
cmake_minimum_required(VERSION 3.12)

set(PCAPPP_VERSION "22.11+")
set(PCAPPP_VERSION "23.09")

# MAIN_PROJECT CHECK
set(PCAPPP_MAIN_PROJECT OFF)
Expand Down
12 changes: 6 additions & 6 deletions Common++/header/PcapPlusPlusVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
*/
namespace pcpp
{
#define PCAPPLUSPLUS_VERSION "22.11+"
#define PCAPPLUSPLUS_VERSION_OFFICIAL "non-official release"
#define PCAPPLUSPLUS_VERSION "23.09"
#define PCAPPLUSPLUS_VERSION_OFFICIAL "official release"

#define PCAPPLUSPLUS_VERSION_FULL "v" PCAPPLUSPLUS_VERSION " (" PCAPPLUSPLUS_VERSION_OFFICIAL ")"

/**
* @return PcapPlusPlus current version, e.g: 22.11. Notice that for non-official releases (which were pulled from GitHub) the version will end with a '+'.
* For example: '22.11+' means non-official release but '22.11' means official release
* @return PcapPlusPlus current version, e.g: 23.09. Notice that for non-official releases (which were pulled from GitHub) the version will end with a '+'.
* For example: '23.09+' means non-official release but '23.09' means official release
*/
inline std::string getPcapPlusPlusVersion() { return PCAPPLUSPLUS_VERSION; }

/**
* @return PcapPlusPlus long version string which includes the version and info whether it's an official or non-official release. For example: "v22.11+ (non-official release)"
* or "v22.11 (official release)"
* @return PcapPlusPlus long version string which includes the version and info whether it's an official or non-official release. For example: "v23.09+ (non-official release)"
* or "v23.09 (official release)"
*/
inline std::string getPcapPlusPlusVersionFull() { return PCAPPLUSPLUS_VERSION_FULL; }

Expand Down

0 comments on commit 4cf8ed4

Please sign in to comment.