summaryrefslogtreecommitdiff
path: root/bpfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bpfc.c')
-rw-r--r--bpfc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bpfc.c b/bpfc.c
index 4ba0563..5063d02 100644
--- a/bpfc.c
+++ b/bpfc.c
@@ -16,6 +16,7 @@
#include "xmalloc.h"
#include "die.h"
#include "bpf.h"
+#include "config.h"
static const char *short_options = "vhi:Vdbf:p";
static const struct option long_options[] = {
@@ -67,8 +68,9 @@ static void __noreturn help(void)
static void __noreturn version(void)
{
- printf("\nbpfc %s, a tiny BPF compiler\n", VERSION_LONG);
- puts("http://www.netsniff-ng.org\n\n"
+ printf("\nbpfc %s, Git id: %s\n", VERSION_LONG, GITVERSION);
+ puts("a tiny BPF compiler\n"
+ "http://www.netsniff-ng.org\n\n"
"Please report bugs to <bugs@netsniff-ng.org>\n"
"Copyright (C) 2011-2013 Daniel Borkmann <dborkma@tik.ee.ethz.ch>,\n"
"Swiss federal institute of technology (ETH Zurich)\n"