openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[bug] Mac address is case sensitive

Open nemesifier opened this issue 1 year ago • 0 comments

When creating a new device, if the mac address is inserted as lowercase, it's stored as lowercase. However, the openwisp-config agent always converts the mac address to uppercase.

We should automatically convert the mac address to the uppercase format in the model clean method, before the device key is automatically generated. This will ensure consistency.

nemesifier avatar Sep 10 '24 13:09 nemesifier