From ebb4e4376adddc6826695d3cab6deebb1549a605 Mon Sep 17 00:00:00 2001 From: 11!tgraf <11!tgraf> Date: Tue, 18 Jan 2005 22:11:58 +0000 Subject: [PATCH] tb buffer initialization is now done in the parser (Logical change 1.129) --- misc/ss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/ss.c b/misc/ss.c index 099fc5a0..037b32b5 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -1305,7 +1305,6 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct tcpdiagmsg *r) char b1[64]; double rtt = 0; - memset(tb, 0, sizeof(tb)); parse_rtattr(tb, TCPDIAG_MAX, (struct rtattr*)(r+1), nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*r)));