diff options
| author | Kozlov Dmitry <dima@server> | 2010-11-09 12:03:08 +0300 |
|---|---|---|
| committer | Kozlov Dmitry <dima@server> | 2010-11-09 12:03:08 +0300 |
| commit | 08344fe080a5557295b03c46262fc6f4d2845d7a (patch) | |
| tree | 1b9dbc12202c8affd224d454370f8a0d18bd1f09 /accel-pptpd/radius | |
| parent | ea29f31e5b072ea1247a18bbecb9e2f47a36bc72 (diff) | |
| download | accel-ppp-08344fe080a5557295b03c46262fc6f4d2845d7a.tar.gz accel-ppp-08344fe080a5557295b03c46262fc6f4d2845d7a.zip | |
radius: fixed incorrect session identification by Framed-IP-Address when ip assigned from internal pool
Diffstat (limited to 'accel-pptpd/radius')
| -rw-r--r-- | accel-pptpd/radius/radius.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/radius/radius.c b/accel-pptpd/radius/radius.c index edec82a0..ed9830bc 100644 --- a/accel-pptpd/radius/radius.c +++ b/accel-pptpd/radius/radius.c @@ -252,7 +252,7 @@ struct radius_pd_t *rad_find_session(const char *sessionid, const char *username continue; if (port_id >= 0 && port_id != rpd->ppp->unit_idx) continue; - if (ipaddr && ipaddr != rpd->ipaddr.peer_addr) + if (ipaddr && ipaddr != rpd->ppp->peer_ipaddr) continue; if (csid && rpd->ppp->ctrl->calling_station_id && strcmp(csid, rpd->ppp->ctrl->calling_station_id)) continue; |
