summaryrefslogtreecommitdiffstats
path: root/raddb/policy.d
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--raddb/policy.d/canonicalization1
1 files changed, 1 insertions, 0 deletions
diff --git a/raddb/policy.d/canonicalization b/raddb/policy.d/canonicalization
index 6d90e37..1b2f6e3 100644
--- a/raddb/policy.d/canonicalization
+++ b/raddb/policy.d/canonicalization
@@ -77,6 +77,7 @@ rewrite_called_station_id {
if (&Called-Station-Id && (&Called-Station-Id =~ /^${policy.mac-addr-regexp}([^0-9a-f](.+))?$/i)) {
update request {
&Called-Station-Id := "%{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}"
+ &Called-Station-MAC := "0x%{toupper:%{1}%{2}%{3}%{4}%{5}%{6}}"
}
# SSID component?