net-tools/net-tools-1.60-tcp-recvq-listen.patch

13 lines
440 B
Diff

# 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,