projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2bd9f
)
-fix uninitialized sin_zero
author
Christian Grothoff
<christian@grothoff.org>
Fri, 23 Dec 2011 15:05:46 +0000
(15:05 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 23 Dec 2011 15:05:46 +0000
(15:05 +0000)
src/ats/ats_api_scheduling.c
patch
|
blob
|
history
diff --git
a/src/ats/ats_api_scheduling.c
b/src/ats/ats_api_scheduling.c
index b2dcc13011d6c8ff7019995616dec90e040e9aa6..31b032f72568df34bc967099b416899d366b9231 100644
(file)
--- a/
src/ats/ats_api_scheduling.c
+++ b/
src/ats/ats_api_scheduling.c
@@
-678,8
+678,8
@@
interface_proc (void *cls, const char *name,
net->netmask = (struct sockaddr *) &tmp[1];
net->length = addrlen;
+ memset (&network4, 0, sizeof (network4));
network4.sin_family = AF_INET;
- network4.sin_port = htons (0);
#if HAVE_SOCKADDR_IN_SIN_LEN
network4.sin_len = sizeof (network4);
#endif