raddb/policy.d/canonicalization: toupper instead of tolower?

Axel Luttgens axel.luttgens at skynet.be
Mon Sep 1 11:29:06 CEST 2014


In rewrite_called_station_id and rewrite_calling_station_id, the MAC address is rewritten by ensuring to have hyphens as separators and by lowercasing the hex digits.

Now, according to RFC 3580, the canonical format seems to be "upper case only".

In that sense, wouldn't a call to toupper thus be more appropriate?


More information about the Freeradius-Users mailing list