fix ListenStats documentation error in Raindrops::Linux.unix_listener_stats
authorAman Gupta <aman@tmm1.net>
Sat, 7 Jan 2012 07:48:40 +0000 (6 23:48 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 7 Jan 2012 08:01:57 +0000 (7 08:01 +0000)
Signed-off-by: Aman Gupta <aman@tmm1.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
lib/raindrops/linux.rb

index 8a67887..fe2af09 100644 (file)
@@ -27,8 +27,8 @@ module Raindrops::Linux
   #             SS_CONNECTED,             /* connected to socket          */
   #             SS_DISCONNECTING          /* in process of disconnecting  */
   #     } socket_state;
-  # * SS_CONNECTING maps to ListenStats#active
-  # * SS_CONNECTED maps to ListenStats#queued
+  # * SS_CONNECTING maps to ListenStats#queued
+  # * SS_CONNECTED maps to ListenStats#active
   #
   # This method may be significantly slower than its tcp_listener_stats
   # counterpart due to the latter being able to use inet_diag via netlink.