Bug #3195
closedCP MAC allows duplication
100%
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.
Updated by Jim Pingle about 11 years ago
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.
Updated by Renato Botelho about 11 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 01ba8ec63d4c99ed8fd1e3085c9fa960aa6d3a7b.
Updated by Renato Botelho about 11 years ago
Applied in changeset 204e16db77b2d31f934dab9f976bc8b3c83c40d1.
Updated by Jim Pingle almost 11 years ago
- 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.