LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File net-tools-1.60-tcp-recvq-listen.patch of Package net-tools (Project home:pwieczorkiewicz:branches:openSUSE:Leap:42.1:Update)

# A length of accepted tcp/unix connections queue is passed in this field since kernel 2.6.18
# andrei.nigmatulin@gmail.com
--- net-tools-1.60/netstat.c	2008-08-04 19:53:08.000000000 +0100
+++ net-tools-1.60/netstat.c	2008-08-04 19:53:16.000000000 +0100
@@ -877,7 +877,6 @@
     if (state == TCP_LISTEN) {
 	time_len = 0;
 	retr = 0L;
-	rxq = 0L;
 	txq = 0L;
     }
     safe_strncpy(local_addr, ap->sprint((struct sockaddr *) &localaddr,