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:
7833cfb
)
-fix uninitialized scope ID
author
Christian Grothoff
<christian@grothoff.org>
Fri, 23 Dec 2011 15:04:57 +0000
(15:04 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 23 Dec 2011 15:04:57 +0000
(15:04 +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 4c5e0d51ec0b209c6802736fdbdf9011247a285d..b2dcc13011d6c8ff7019995616dec90e040e9aa6 100644
(file)
--- a/
src/ats/ats_api_scheduling.c
+++ b/
src/ats/ats_api_scheduling.c
@@
-702,8
+702,8
@@
interface_proc (void *cls, const char *name,
net->netmask = (struct sockaddr *) &tmp[1];
net->length = addrlen;
+ memset (&network6, 0, sizeof (network6));
network6.sin6_family = AF_INET6;
- network6.sin6_port = htons (0);
#if HAVE_SOCKADDR_IN_SIN_LEN
network6.sin6_len = sizeof (network6);
#endif