Merge pull request #546 from manuelluis/mlsr/tcpconns-aix
authorMarc Fournier <marc.fournier@camptocamp.com>
Sun, 30 Mar 2014 22:10:44 +0000 (00:10 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sun, 30 Mar 2014 22:10:44 +0000 (00:10 +0200)
Fix tcp state names in AIX to be like others.

src/tcpconns.c

index 765b892..890e07f 100644 (file)
@@ -215,13 +215,13 @@ static const char *tcp_state[] =
   "CLOSED",
   "LISTEN",
   "SYN_SENT",
-  "SYN_RCVD",
+  "SYN_RECV",
   "ESTABLISHED",
   "CLOSE_WAIT",
-  "FIN_WAIT_1",
+  "FIN_WAIT1",
   "CLOSING",
   "LAST_ACK",
-  "FIN_WAIT_2",
+  "FIN_WAIT2",
   "TIME_WAIT"
 };