Files
librenms-librenms/tests
Luis Wolfarth a6c195ee90 LLDP Discovery - LldpRemPortId convert to string when in HEX (#16438)
* Update discovery-protocols.inc.php

When using the LLDP-V2-MIB, the device may reply with lldpV2RemPortId as hexadecimal. To convert it to a string, this update checks if the lldpV2RemPortIdSubtype is '5' = "interfaceName(5)"; if so, the code removes the character ":" from the value of lldpV2RemPortId and tests if it is hexadecimal. If the test is positive, it translates it into a string.

* Update discovery-protocols.inc.php
Added lines 342 to 345 to convert the lldpRemPortId when is hex and lldpRemPortIdSutype is 5.

* Update discovery-protocols.inc.php
Importing lib StringHelpers.

* tabs + tests PANOS

---------

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2024-09-26 20:39:25 +02:00
..
2023-05-24 22:21:54 +02:00
2023-10-29 22:46:04 -05:00
2023-05-24 22:21:54 +02:00
2024-09-25 14:53:22 +02:00
2023-05-24 22:21:54 +02:00
2022-11-05 14:43:54 -05:00
2024-07-05 09:02:11 -05:00
2024-06-03 21:29:29 -05:00
2023-05-24 22:21:54 +02:00
2023-05-24 22:21:54 +02:00
2024-09-04 15:58:50 -05:00
2023-05-24 22:21:54 +02:00
2024-07-26 08:45:34 -05:00
2022-07-20 15:27:57 +02:00
2023-05-24 22:21:54 +02:00