diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-10-12 23:41:38 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-10-12 23:41:38 +0400 |
commit | 07bb2569fb1dd066f07d741035960b42a07e8b73 (patch) | |
tree | 2404601f745b6b1974587272ad6fe7e49f47df14 /accel-pptpd | |
parent | 805d4cdd48200d9bced3a5e41eed08f008d913f4 (diff) | |
download | accel-ppp-07bb2569fb1dd066f07d741035960b42a07e8b73.tar.gz accel-ppp-07bb2569fb1dd066f07d741035960b42a07e8b73.zip |
radius: accept DM/CoA request when User-Name present with one of following attributes: Acct-Session-Id, Framed-IP-Address, NAS-Port
Diffstat (limited to 'accel-pptpd')
-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 817071e9..8a4020c1 100644 --- a/accel-pptpd/radius/radius.c +++ b/accel-pptpd/radius/radius.c @@ -245,7 +245,7 @@ struct radius_pd_t *rad_find_session_pack(struct rad_packet_t *pack) if (!sessionid && !username && port_id == -1 && ipaddr == 0 && !csid) return NULL; - if (username && !sessionid) + if (username && !sessionid && port_id == -1 && ipaddr == 0) return NULL; return rad_find_session(sessionid, username, port_id, ipaddr, csid); |