summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/serv.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-08-03 14:32:32 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-08-03 14:32:32 +0400
commitbc071ac4349a96ec757ee418c08ffac509e6b6e4 (patch)
treed41b9ed72de3979aa5a0a3e45789b9030ad98abe /accel-pppd/radius/serv.c
parent95586a13a28c93e60f8da6b728b0e7b57cdff5f1 (diff)
downloadaccel-ppp-bc071ac4349a96ec757ee418c08ffac509e6b6e4.tar.gz
accel-ppp-bc071ac4349a96ec757ee418c08ffac509e6b6e4.zip
fixed complilation for 3.4 kernel
Diffstat (limited to 'accel-pppd/radius/serv.c')
-rw-r--r--accel-pppd/radius/serv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/accel-pppd/radius/serv.c b/accel-pppd/radius/serv.c
index aae37190..f40725b9 100644
--- a/accel-pppd/radius/serv.c
+++ b/accel-pppd/radius/serv.c
@@ -364,11 +364,11 @@ static void add_server_old(void)
{
const char *opt;
in_addr_t auth_addr = 0;
- int auth_port;
- char *auth_secret;
+ int auth_port = 0;
+ char *auth_secret = NULL;
in_addr_t acct_addr = 0;
- int acct_port;
- char *acct_secret;
+ int acct_port = 0;
+ char *acct_secret = NULL;
struct rad_server_t *s;
opt = conf_get_opt("radius", "auth-server");