diff options
author | Luca Deri <deri@ntop.org> | 2020-08-17 18:11:18 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-08-17 18:11:18 +0200 |
commit | 1f921562d1d7962f1d23ca5b59c25f9b65073460 (patch) | |
tree | 64494659696cb5e64cd7e604037039652eb73cc5 /configure.seed | |
parent | 34a98abcc0c6cda11ea3468ade724e6e155a6d2e (diff) |
Added fix for API versions starting with 0
Diffstat (limited to 'configure.seed')
-rw-r--r-- | configure.seed | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.seed b/configure.seed index db4cf1b25..087150a39 100644 --- a/configure.seed +++ b/configure.seed @@ -67,6 +67,8 @@ else NDPI_API_VERSION=`date +%s | cut -c7-10` fi +NDPI_API_VERSION=`echo $NDPI_API_VERSION | sed 's/^0*//'` + AC_DEFINE_UNQUOTED(NDPI_GIT_RELEASE, "${GIT_RELEASE}", [GIT Release]) AC_DEFINE_UNQUOTED(NDPI_GIT_DATE, "${GIT_DATE}", [Last GIT change]) |