projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26b3b7e
)
Ensure all fields are initialized
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 6 Sep 2012 09:09:46 +0000
(11:09 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 6 Sep 2012 09:33:25 +0000
(11:33 +0200)
src/main/listen.c
patch
|
blob
|
history
diff --git
a/src/main/listen.c
b/src/main/listen.c
index
4ceed30
..
11bca64
100644
(file)
--- a/
src/main/listen.c
+++ b/
src/main/listen.c
@@
-2769,6
+2769,8
@@
int listen_init(CONF_SECTION *config, rad_listen_t **head, int spawn_flag)
if (rcode == 0) { /* successfully parsed IPv4 */
listen_socket_t *sock;
+
+ memset(&server_ipaddr, 0, sizeof(server_ipaddr));
server_ipaddr.af = AF_INET;
radlog(L_INFO, "WARNING: The directive 'bind_address' is deprecated, and will be removed in future versions of FreeRADIUS. Please edit the configuration files to use the directive 'listen'.");