Skip to content

Commit

Permalink
Initialize ipv4only and ipv6only.
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Nordberg committed Apr 17, 2012
1 parent 2feba60 commit ddd985a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radsecproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit ddd985a

Please sign in to comment.