aboutsummaryrefslogtreecommitdiff
path: root/configure.seed
diff options
context:
space:
mode:
Diffstat (limited to 'configure.seed')
-rw-r--r--configure.seed2
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])