summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-19 07:29:32 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-02-19 07:29:32 (GMT)
commit45e97924463d4ce17717e5c768b7b980da2f1e79 (patch)
tree263c9790b07f543f28cad66707b52495ab3d29c7
parentbaab327719cd683bb468e2a7834430615feff7d2 (diff)
downloadbusybox-45e97924463d4ce17717e5c768b7b980da2f1e79.tar.gz
busybox-45e97924463d4ce17717e5c768b7b980da2f1e79.tar.bz2
netstat: fix a trivial bug
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/netstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/netstat.c b/networking/netstat.c
index 149a81e..8b7a574 100644
--- a/networking/netstat.c
+++ b/networking/netstat.c
@@ -437,7 +437,7 @@ static int FAST_FUNC tcp_do_one(char *line)
) \
)
#else
-# define NOT_NULL_ADDR(A) (A.sin_addr.s_addr)
+# define NOT_NULL_ADDR(A) (A.sin.sin_addr.s_addr)
#endif
static int FAST_FUNC udp_do_one(char *line)