19 Aug
2011
19 Aug
'11
10:09 a.m.
For 802.11 sessions Called-Station-Id is typically '00-11-22-33-44-55:foobar'. However, after calling rewrite.called_station_id it is re-written to '00-11-22-33-44-55::foobar' as the regex grouping captures the ':' too. The patch below prevents the addition of this extra. Signed-off-by: Alexander Clouter <alex@digriz.org.uk> diff --git a/raddb/policy.conf b/raddb/policy.conf index 73b1951..ece72b1 100644 --- a/raddb/policy.conf +++ b/raddb/policy.conf @@ -171,7 +171,7 @@ policy { # SSID component? if ("%{7}") { update request { - Called-Station-Id := "%{Called-Station-Id}:%{7}" + Called-Station-Id := "%{Called-Station-Id}%{7}" } } updated