From 1f921562d1d7962f1d23ca5b59c25f9b65073460 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 17 Aug 2020 18:11:18 +0200 Subject: Added fix for API versions starting with 0 --- configure.seed | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.seed') 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]) -- cgit v1.2.3