Project

General

Profile

Actions

Bug #3195

closed

CP MAC allows duplication

Added by Renato Botelho about 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
Captive Portal
Target version:
Start date:
09/12/2013
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
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.

Actions #1

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.

Actions #2

Updated by Renato Botelho about 11 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

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.

Actions

Also available in: Atom PDF