MAC address search bugs out when MAC is not full #7538

Closed
opened 2025-12-29 20:24:53 +01:00 by adam · 0 comments
Owner

Originally created by @ntnlabs on GitHub (Jan 20, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.4.2

Python version

3.10

Steps to Reproduce

  1. Have bunch of net devices with IP addresses and MAC addresses
  2. Go to Devices\Interfaces
  3. Click on second tab (Search)
  4. Scroll to MAC
  5. Enter part of MAC
  6. Click on search

Expected Behavior

  1. Click on search
  2. List of interfaces whose MAC addresses start with the searched string

Observed Behavior

  1. Click on search
  2. Error:
<class 'django.core.exceptions.ValidationError'>

['Invalid MAC address format: 00-0C']

Python version: 3.10.6
NetBox version: 3.4.2
Originally created by @ntnlabs on GitHub (Jan 20, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.4.2 ### Python version 3.10 ### Steps to Reproduce 1. Have bunch of net devices with IP addresses and MAC addresses 2. Go to Devices\Interfaces 3. Click on second tab (Search) 4. Scroll to MAC 5. Enter part of MAC 6. Click on search ### Expected Behavior 6. Click on search 7. List of interfaces whose MAC addresses start with the searched string ### Observed Behavior 6. Click on search 7. Error: ``` <class 'django.core.exceptions.ValidationError'> ['Invalid MAC address format: 00-0C'] Python version: 3.10.6 NetBox version: 3.4.2 ```
adam added the type: bugstatus: accepted labels 2025-12-29 20:24:54 +01:00
adam closed this issue 2025-12-29 20:24:54 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7538