]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
mtr v0.44 v0.44
authorRoger Wolff <r.e.wolff@bitwizard.nl>
Sat, 28 Apr 2001 00:00:00 +0000 (00:00 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 3 Feb 2013 20:45:37 +0000 (20:45 +0000)
 - David Stone adds the "last" column to the gtk version.

source: ftp://ftp.bitwizard.nl/mtr/mtr-0.44.tar.gz

AUTHORS
NEWS
configure.in
gtk.c

diff --git a/AUTHORS b/AUTHORS
index 7288c169fcb7ba7a4bdb78194d17942c084789a5..a85495c93bc6279aaba6a77c494a02498784da61 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -34,6 +34,7 @@
         Bill Bogstad (bogstad@pobox.com), 
         Moritz Barsnick (barsnick@gmx.net)
         Robert Sparks (rjsparks@nostrum.com)
+        David Stone (stone@AsIf.com)
 
         and anyone who has slipped through the cracks of my mail file.
 
diff --git a/NEWS b/NEWS
index 4f083f7427fa7c3a876b668a85f68fb033181ceb..6d3e0b086084c9e368637f9a165b1feee3216a4a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,9 @@
 WHAT'S NEW?
 
+  v0.44 David Stone adds the "last" column to the gtk version. 
+
+  v0.43 Compile fixes. 
+
   v0.41 Added afr's patch to allow disabeling of gtk without Robn's hack. 
         Made report mode report the newly added extra resolution. 
 
index 78d901149f5b68e422fb9a68f828ca13e76bf7d9..707ebd6679196336c8bd9b665082519be45090b8 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT(mtr.c)
-AM_INIT_AUTOMAKE(mtr, 0.43)
+AM_INIT_AUTOMAKE(mtr, 0.44)
 
 AC_SUBST(GTK_OBJ)
 AC_SUBST(CURSES_OBJ)
diff --git a/gtk.c b/gtk.c
index a5189f23333283ec1bf22a81b9da45b0f13cbbd0..1d5e8dbab7dc41b29adda3939867496f4f7dde48 100644 (file)
--- a/gtk.c
+++ b/gtk.c
@@ -193,8 +193,8 @@ void Toolbar_fill(GtkWidget *Toolbar) {
   gtk_widget_show(Entry);
 }
 
-char *Report_Text[] = { "Hostname", "Loss", "Rcv", "Snt", "Best", "Avg", "Worst", NULL };
-int Report_Positions[] = { 10, 240, 280, 320, 360, 400, 440, 0 };
+char *Report_Text[] = { "Hostname", "Loss", "Rcv", "Snt", "Last", "Best", "Avg", "Worst", NULL };
+int Report_Positions[] = { 10, 240, 280, 320, 360, 400, 440, 480, 0 };
 GtkWidget *Report;
 GtkWidget *ReportBody;
 
@@ -300,9 +300,10 @@ void gtk_update_row(GtkCList *List, int row) {
   gtk_set_field_num(List, row, 2, "%d", net_returned(row));  
   gtk_set_field_num(List, row, 3, "%d", net_xmit(row));
   
-  gtk_set_field_num(List, row, 4, "%d", net_best(row)/1000);
-  gtk_set_field_num(List, row, 5, "%d", net_avg(row)/1000);  
-  gtk_set_field_num(List, row, 6, "%d", net_worst(row)/1000);
+  gtk_set_field_num(List, row, 4, "%d", net_last(row)/1000);
+  gtk_set_field_num(List, row, 5, "%d", net_best(row)/1000);
+  gtk_set_field_num(List, row, 6, "%d", net_avg(row)/1000);  
+  gtk_set_field_num(List, row, 7, "%d", net_worst(row)/1000);
   
 }
 
@@ -334,7 +335,7 @@ void Window_fill(GtkWidget *Window) {
 
   gtk_window_set_title(GTK_WINDOW(Window), "My traceroute  [v" VERSION "]");
   gtk_window_set_wmclass(GTK_WINDOW(Window), "mtr", "Mtr");
-  gtk_widget_set_usize(Window, 540, 400); 
+  gtk_widget_set_usize(Window, 580, 400); 
   gtk_container_border_width(GTK_CONTAINER(Window), 10);
   VBox = gtk_vbox_new(FALSE, 10);