summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-08-18 16:38:35 +0300
committerimarom <imarom@cisco.com>2015-08-18 16:38:35 +0300
commite89e0c74913d5dda2c3c46166df99d0fc5e1ed7d (patch)
tree59ab17c045d9e18a7b830beb81e08a6e74f50cdd /src
parentace4f5990ef18bb3a76d042b60d7a8af02bcd357 (diff)
version adjustments
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main.cpp13
1 files changed, 13 insertions, 0 deletions
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 <common/arg/SimpleGlob.h>
#include <common/arg/SimpleOpt.h>
+/**
+ * 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};