Skip to content

search bar in Interfaces:Neighbors:Automatic Discovery does a partial match #9742

@dinguz

Description

@dinguz

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

A clear and concise description of what the bug is, including last known working version (if any).

Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)

It looks like the search bar in Interfaces → Neighbors → Automatic Discovery does a partial match. Searching for 192.168.1.1 also shows 192.168.1.1xx.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

1 Go to Interfaces → Neighbors → Automatic Discovery
2 Select tab Discovered Hosts
3 In the search bar, type a found IP address ending in a single digit
4 Observe searching returns all IP addresses where the last octet start with said single digit (i.e. searching for .1 returns .1-.199)

Expected behavior

A clear and concise description of what you expected to happen.

Search returns only the IP address that's searched for.

Describe alternatives you considered

A clear and concise description of any alternative solutions or workaround you considered.

Make the search behavior selectable as in partial match / full match

Screenshots

If applicable, add screenshots to help explain your problem.

Image

Relevant log files

If applicable, information from log files supporting your claim.

Additional context

Add any other context about the problem here.

https://forum.opnsense.org/index.php?topic=50730.0

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 26.1 and later

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportCommunity support or awaiting triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions