Comparing attributes containing MAC addresses

paul.moser at paul.moser at
Wed Apr 20 12:46:31 UTC 2022

Is there a simple built in way to compare attributes that are MAC addresses for equivalence?

I need to be able to compare 2 attributes in a packet to see if they are the same, unfortunately the network kit vendor does not format MAC addresses consistently across all attributes (eg User-Name = whilst  Calling-Station-Id = aabb:ccdd:eeff)  so a simple string comparison does not work.



More information about the Freeradius-Users mailing list