summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/radius.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-09-09 18:26:02 +0400
committerKozlov Dmitry <dima@server>2010-09-09 18:29:47 +0400
commit35d38d2c3f3db22216d43604b8750ecb6089e525 (patch)
treef599fea448c4aacdd96cabf10fee88aa7bdb57aa /accel-pptpd/radius/radius.h
parenteac0adf4b2b038690c761a126cb3e55a888060df (diff)
downloadaccel-ppp-xebd-35d38d2c3f3db22216d43604b8750ecb6089e525.tar.gz
accel-ppp-xebd-35d38d2c3f3db22216d43604b8750ecb6089e525.zip
iprange: implemneted modules iprange to validate ip addresses of controlling connection and tunnel
It will check that ip address of tunnel is not in range of clients ip addresses. This will avoid kernel softlockups due to loopback occured.
Diffstat (limited to 'accel-pptpd/radius/radius.h')
-rw-r--r--accel-pptpd/radius/radius.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/radius/radius.h b/accel-pptpd/radius/radius.h
index 9728a4a..cededbe 100644
--- a/accel-pptpd/radius/radius.h
+++ b/accel-pptpd/radius/radius.h
@@ -40,7 +40,7 @@ struct radius_pd_t
struct rad_req_t *acct_req;
struct triton_timer_t acct_interim_timer;
- struct rad_packet_t *pd_coa_req;
+ struct rad_packet_t *dm_coa_req;
in_addr_t ipaddr;
int acct_interim_interval;
@@ -120,7 +120,7 @@ extern int conf_auth_server_port;
extern char *conf_acct_server;
extern char *conf_acct_secret;
extern int conf_acct_server_port;
-extern char *conf_pd_coa_secret;
+extern char *conf_dm_coa_secret;
int rad_check_nas_pack(struct rad_packet_t *pack);
struct radius_pd_t *rad_find_session(const char *sessionid, const char *username, int port_id, in_addr_t ipaddr);