From 07bb2569fb1dd066f07d741035960b42a07e8b73 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Tue, 12 Oct 2010 23:41:38 +0400 Subject: radius: accept DM/CoA request when User-Name present with one of following attributes: Acct-Session-Id, Framed-IP-Address, NAS-Port --- accel-pptpd/radius/radius.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3