From e89e0c74913d5dda2c3c46166df99d0fc5e1ed7d Mon Sep 17 00:00:00 2001 From: imarom Date: Tue, 18 Aug 2015 16:38:35 +0300 Subject: version adjustments --- src/main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 96789cdd..e3176be3 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -27,6 +27,19 @@ limitations under the License. #include #include +/** + * on simulation this is not rebuild every version + * (improved stub) + * + */ +extern "C" char * get_build_date(void){ + return (__DATE__); +} + +extern "C" char * get_build_time(void){ + return (__TIME__ ); +} + // An enum for all the option types enum { OPT_HELP, OPT_CFG, OPT_NODE_DUMP, OP_STATS, OPT_FILE_OUT, OPT_UT, OPT_PCAP, OPT_IPV6, OPT_MAC_FILE}; -- cgit 1.2.3-korg