mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
wprobe: fix uninitialized variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16731 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
18ab433219
commit
3f24ae593c
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user