summaryrefslogtreecommitdiff
path: root/networking/netstat.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-02-19 08:29:32 +0100
committerDenys Vlasenko2010-02-19 08:29:32 +0100
commit45e97924463d4ce17717e5c768b7b980da2f1e79 (patch)
tree263c9790b07f543f28cad66707b52495ab3d29c7 /networking/netstat.c
parentbaab327719cd683bb468e2a7834430615feff7d2 (diff)
downloadbusybox-45e97924463d4ce17717e5c768b7b980da2f1e79.zip
busybox-45e97924463d4ce17717e5c768b7b980da2f1e79.tar.gz
netstat: fix a trivial bug
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/netstat.c')
-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)