diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/freeradius.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/config/freeradius.inc b/config/freeradius.inc index 21463422..4fbd5bc5 100644 --- a/config/freeradius.inc +++ b/config/freeradius.inc @@ -451,8 +451,6 @@ function freeradius_users_resync() { $password = $user['password']; $multiconnect = $user['multiconnect']; $ip = $user['ip']; - $subnetmask = $user['subnetmask']; - $gateway = $user['gateway']; $userexpiration=$user['expiration']; $sessiontime=$user['sessiontime']; $onlinetime=$user['onlinetime']; @@ -473,14 +471,6 @@ function freeradius_users_resync() { if ($atrib <> '') { $atrib .=","; } $atrib .="\r\n\tFramed-IP-Address = $ip"; } - if ($subnetmask <> '') { - if ($atrib <> '') { $atrib .=","; } - $atrib .="\r\n\tFramed-IP-Netmask = $subnetmask"; - } - if ($gateway <> '') { - if ($atrib <> '') { $atrib .=","; } - $atrib .="\r\n\tFramed-Route = $gateway"; - } if ($sessiontime <> '') { if ($atrib <> '') { $atrib .=","; } $atrib .="\r\n\tSession-Timeout := $sessiontime"; |