aboutsummaryrefslogtreecommitdiffstats
path: root/package/wprobe/src/user/wprobe-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/wprobe/src/user/wprobe-util.c')
-rw-r--r--package/wprobe/src/user/wprobe-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wprobe/src/user/wprobe-util.c b/package/wprobe/src/user/wprobe-util.c
index d5d440a30c..72feece025 100644
--- a/package/wprobe/src/user/wprobe-util.c
+++ b/package/wprobe/src/user/wprobe-util.c
@@ -296,7 +296,7 @@ static int run_proxy(int port)
return 1;
}
while(1) {
- unsigned int addrlen;
+ unsigned int addrlen = sizeof(struct sockaddr_in);
int ret, c;
c = accept(s, (struct sockaddr *)&sa, &addrlen);