20 Apr
2022
20 Apr
'22
8:46 a.m.
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 = aa.bb.cc.dd.ee.ff whilst Calling-Station-Id = aabb:ccdd:eeff) so a simple string comparison does not work. Thanks, Paul