diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-08-19 16:12:06 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-08-19 16:12:06 +0300 |
commit | 30cff41b56be0d4c3e407e8aa4de5b289eef2ab0 (patch) | |
tree | 6baec06153676191e5fd1d3e37059fc181721d91 /accel-pppd | |
parent | 6353dd4496221b8998ccc8520e080f1e5e132353 (diff) | |
download | accel-ppp-30cff41b56be0d4c3e407e8aa4de5b289eef2ab0.tar.gz accel-ppp-30cff41b56be0d4c3e407e8aa4de5b289eef2ab0.zip |
ipoe: fixed condition to register radius plugin
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index 7b59ce76..8b28c76c 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -633,8 +633,7 @@ static void ipoe_session_start(struct ipoe_session *ses) return; #ifdef RADIUS - if ((conf_attr_dhcp_opt82 || conf_attr_dhcp_opt82_remote_id || conf_attr_dhcp_opt82_circuit_id) && - ses->relay_agent && radius_loaded) { + if (radius_loaded) { ses->radius.send_access_request = ipoe_rad_send_auth_request; ses->radius.send_accounting_request = ipoe_rad_send_acct_request; rad_register_plugin(&ses->ses, &ses->radius); |