Revision ab8d50ac
Added by Chris Buechler over 10 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
1932 | 1932 |
if ($attributes['voucher']) |
1933 | 1933 |
$mac['logintype'] = "voucher"; |
1934 | 1934 |
} |
1935 |
$mac['descr'] = "Auto added pass-through MAC for user {$username}"; |
|
1935 |
if ($username = "unauthenticated") |
|
1936 |
$mac['descr'] = "Auto-added"; |
|
1937 |
else |
|
1938 |
$mac['descr'] = "Auto-added for user {$username}"; |
|
1936 | 1939 |
if (!empty($bw_up)) |
1937 | 1940 |
$mac['bw_up'] = $bw_up; |
1938 | 1941 |
if (!empty($bw_down)) |
Also available in: Unified diff
Shorten up the MAC pass-through descr. It was redundant, and for those with huge numbers of auto-added MAC passthrough entries, it adds up to a significant amount of config space (adding to delays when launching CP). helps Ticket #3932