Skip to content

Commit c17f0cd

Browse files
committed
Juniper LLDP local port index exception
1 parent adfdb36 commit c17f0cd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

includes/discovery/discovery-protocols.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ function ($v) {
351351
$ifName = $lldp_local[$entry_key]['lldpLocPortDesc'];
352352
} elseif ($device['os'] == 'routeros') {
353353
$ifIndex = $entry_key;
354+
} elseif ($device['os'] == 'junos') {
355+
$ifIndex = $entry_key;
354356
} elseif (isset($dot1d_array) && isset($dot1d_array[$entry_key]) && is_numeric($dot1d_array[$entry_key]['dot1dBasePortIfIndex'])) {
355357
$ifIndex = $dot1d_array[$entry_key]['dot1dBasePortIfIndex'];
356358
} else {

0 commit comments

Comments
 (0)