When SNMP returns MAC addresses as strings (e.g., 'A:B:C:D:E:F'), they were being converted to lowercase without padding hex digits with leading zeros. This caused subscriber matching to fail because the normalize_mac function expects properly padded MACs (e.g., '0a:0b:0c:0d:0e:0f'). Now properly normalizes string MACs by: - Removing all separators - Ensuring 12 hex characters - Reformatting with colon separators and proper padding This fixes subscriber matching for ePMP and some Ubiquiti devices that return string-formatted MACs from SNMP. |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||