]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
* updated the version number to v0.84 in configure.ac
authorVaibhav Bajpai <contact@vaibhavbajpai.com>
Fri, 3 May 2013 07:36:42 +0000 (09:36 +0200)
committerR.E. Wolff <R.E.Wolff@BitWizard.nl>
Mon, 13 May 2013 15:22:53 +0000 (17:22 +0200)
* --csv uses MTR.{MTR_VERSION} format

report.c

index 41b11948a00f7ae7e78addad166721cb590c7190..f3f604380e2ce409137b209b15c536a9f569eeda 100644 (file)
--- a/report.c
+++ b/report.c
@@ -27,6 +27,7 @@
 #include <time.h>
 
 #include "mtr.h"
+#include "version.h"
 #include "report.h"
 #include "net.h"
 #include "dns.h"
@@ -339,7 +340,8 @@ void csv_close(void)
     addr = net_addr(at);
     snprint_addr(name, sizeof(name), addr);
 
-    printf("MTR.0;%s;%d;%s", Hostname, at+1, name);
+    printf("MTR.%s;%s;%d;%s", MTR_VERSION, Hostname, at+1, name);
+
     for( i=0; i<MAXFLD; i++ ) {
       j = fld_index[fld_active[j]];
       if (j < 0) continue;