summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)