net-tools/net-tools-1.60-netstat-probe.patch

16 lines
592 B
Diff
Raw Normal View History

diff -up net-tools-1.60/netstat.c.probe net-tools-1.60/netstat.c
2011-12-06 18:15:09 +00:00
--- net-tools-1.60/netstat.c.probe 2011-12-06 13:06:40.626378359 +0100
+++ net-tools-1.60/netstat.c 2011-12-06 13:06:40.650378062 +0100
@@ -1150,6 +1150,11 @@ static void tcp_do_one(int lnr, const ch
(double) time_len / HZ, retr, timeout);
break;
+ case 4:
+ snprintf(timers, sizeof(timers), _("probe (%2.2f/%ld/%d)"),
+ (double) time_len / HZ, retr, timeout);
+ break;
+
default:
snprintf(timers, sizeof(timers), _("unkn-%d (%2.2f/%ld/%d)"),
timer_run, (double) time_len / HZ, retr, timeout);