-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clicked IP address in search results goes to wrong vlan interface #778
Comments
nickhilliard
added a commit
that referenced
this issue
Feb 11, 2022
good catch - fixed in 54678d6. |
ipv4address.id was implicitly stomping vlaninterface.id. This was already fixed for the ipv6 case. |
barryo
pushed a commit
that referenced
this issue
Jul 4, 2022
barryo
pushed a commit
that referenced
this issue
Jul 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISSUE TYPE
Bug Report
VERSION
SUMMARY
When using the search feature, to search for IP addresses (e.g.
/search?search=5.57.80.72
),the green labels for the IP addresses go to the wrong VLAN interface.
It seems to be using the id of the IP address in the
ipv4address
table insteadof the VLAN interface id, so:
Where the IP is
5.57.80.72,
it goes to/interfaces/vlan/edit/72
(should be 88)Clicking IP
5.57.82.72
goes tointerfaces/vlan/edit/583
(should be 1083)Seems to be in
resources/views/search/additional/ip.foil.php
I've had a look through the code to see if it was something simple, couldn't figure out how to get the correct vlan interface id.
Also it's using
$vli->ipv6enabled
for both IPv4 and IPv6 links.STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: