Bug #3195
closed
CP MAC allows duplication
Added by Renato Botelho about 11 years ago.
Updated almost 11 years ago.
Affected Architecture:
All
Description
You can add a duplicated mac address if a char is lower in one entry and upper in the other one.
aa:00:00:00:00:00 and AA:00:00:00:00:00 can be added simultaneously.
We should probably have a standard MAC cleanup/validation function that would also accept other MAC formats as input and normalize them to our preferred format and case.
For example, it would take 0000.0000.0000 and make it 00:00:00:00:00:00, or AA-00-AA-00-AA-00 and make it aa:00:aa:00:aa:00, or AABBCC-000000 to aa:bb:cc:00:00:00
Thoughts?
It would solve this problem and others.
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
This appears to properly check now, adding a duplicate with different case is not allowed and produces an error in the GUI as expected.
Also available in: Atom
PDF