Describe the bug
Port numbers all showing as 0 in 'MAC Address' tab rather than the actual port number the mac address is associated with
To Reproduce
Steps to reproduce the behavior:
WIth mactrack plugin installed and a device scanned:
click on the MAC Address tab
check the 'Port Number' column
mine are all 0's
Expected behavior
The port numbers should be shown. In this case for example: Gi0/1
Plugin (please complete the following information):
Version: Cacti 1.2.16 with Mactrack 4.4 loaded
Source: github
Identifer: devel
Desktop (please complete the following information):
OS: Windows 10 64bit
Browser Chrome
Version 65.0.3400.0
I have tried MS Edge and MS IE (the ones which come with 1909)
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
I've done a quick check of the mysql values it is trying to grab (port_number). These are all 0 in mac_track_ports so I assume it's looking at the wrong place for those values.
Describe the bug Port numbers all showing as 0 in 'MAC Address' tab rather than the actual port number the mac address is associated with
To Reproduce Steps to reproduce the behavior: WIth mactrack plugin installed and a device scanned:
click on the MAC Address tab
check the 'Port Number' column
mine are all 0's
Expected behavior The port numbers should be shown. In this case for example: Gi0/1
Plugin (please complete the following information):
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context I've done a quick check of the mysql values it is trying to grab (port_number). These are all 0 in mac_track_ports so I assume it's looking at the wrong place for those values.