commit 575a7bc4e2b864e7bd5db8caffe43705787ba2e6 parent 17ff2cba80999275f35338953e01aac33b19098d Author: Jordan Ritter <jpr5@darkridge.com> Date: Fri, 13 Jun 2014 13:23:58 -0700 Emit PCAP library version along with ngrep version Diffstat:
M | ngrep.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ngrep.c b/ngrep.c @@ -1404,7 +1404,7 @@ void usage(int8_t e) { void version(void) { - printf("ngrep: V%s\n", VERSION); + printf("ngrep: V%s, %s\n", VERSION, pcap_lib_version()); exit(0); }