Skip to content

Commit

Permalink
Bump up the version to v21.05 (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
seladb authored May 17, 2021
1 parent ec772ca commit f72d833
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 "20.08+"
#define PCAPPLUSPLUS_VERSION_OFFICIAL "non-official release"
#define PCAPPLUSPLUS_VERSION "21.05"
#define PCAPPLUSPLUS_VERSION_OFFICIAL "official release"

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

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

Expand Down

0 comments on commit f72d833

Please sign in to comment.