Skip to content

Commit

Permalink
Bump up the version to v21.11 (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
seladb authored Nov 8, 2021
1 parent 7ec00c4 commit ddce587
Showing 1 changed file with 6 additions and 6 deletions.
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 "21.05+"
#define PCAPPLUSPLUS_VERSION_OFFICIAL "non-official release"
#define PCAPPLUSPLUS_VERSION "21.11"
#define PCAPPLUSPLUS_VERSION_OFFICIAL "official release"

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

/**
* @return PcapPlusPlus current version, e.g: 21.05. Notice that for non-official releases (which were pulled from GitHub) the version will end with a '+'.
* For example: '21.05+' means non-official release but '21.05' means official release
* @return PcapPlusPlus current version, e.g: 21.11. Notice that for non-official releases (which were pulled from GitHub) the version will end with a '+'.
* For example: '21.11+' means non-official release but '21.11' 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: "v21.05+ (non-official release)"
* or "v21.05 (official release)"
* @return PcapPlusPlus long version string which includes the version and info whether it's an official or non-official release. For example: "v21.11+ (non-official release)"
* or "v21.11 (official release)"
*/
inline std::string getPcapPlusPlusVersionFull() { return PCAPPLUSPLUS_VERSION_FULL; }

Expand Down

0 comments on commit ddce587

Please sign in to comment.