From d166ef4dc5bd62d18c3abd4612d6b11a1e1f28c7 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Fri, 6 Jan 2012 23:48:40 -0800 Subject: fix ListenStats documentation error in Raindrops::Linux.unix_listener_stats Signed-off-by: Aman Gupta Acked-by: Eric Wong --- lib/raindrops/linux.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/raindrops/linux.rb b/lib/raindrops/linux.rb index 8a67887..fe2af09 100644 --- a/lib/raindrops/linux.rb +++ b/lib/raindrops/linux.rb @@ -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. -- cgit v1.2.3-24-ge0c7