summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-04-16 12:22:08 +0200
committerLinus Nordberg <linus@nordu.net>2012-04-17 09:11:49 +0200
commitddd985a98d74ba0121d3181f2e4621cc4861c1a8 (patch)
tree15886b5f91580353eac81d4709f0883b02e91d07 /radsecproxy.c
parent2feba60a704aa57d58eb99d5a49e67cba3510f14 (diff)
Initialize ipv4only and ipv6only.selectfamily
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 2868aa7..fbdd72f 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2708,7 +2708,7 @@ int confclient_cb(struct gconffile **cf, void *arg, char *block, char *opt, char
struct clsrvconf *conf;
char *conftype = NULL, *rewriteinalias = NULL;
long int dupinterval = LONG_MIN, addttl = LONG_MIN;
- uint8_t ipv4only, ipv6only;
+ uint8_t ipv4only = 0, ipv6only = 0;
debug(DBG_DBG, "confclient_cb called for %s", block);
@@ -2886,7 +2886,7 @@ int confserver_cb(struct gconffile **cf, void *arg, char *block, char *opt, char
struct clsrvconf *conf, *resconf;
char *conftype = NULL, *rewriteinalias = NULL;
long int retryinterval = LONG_MIN, retrycount = LONG_MIN, addttl = LONG_MIN;
- uint8_t ipv4only, ipv6only;
+ uint8_t ipv4only = 0, ipv6only = 0;
debug(DBG_DBG, "confserver_cb called for %s", block);