From 8b371996547903c1ebaed63441e4a3062b3c5707 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 22 May 2018 09:34:02 -0400 Subject: [PATCH] Fix wrong port name for G8332 Was using the incorrect half of the return, which broke on G8332. --- confluent_server/confluent/networking/lldp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/networking/lldp.py b/confluent_server/confluent/networking/lldp.py index e8fdc009..a54e7b55 100644 --- a/confluent_server/confluent/networking/lldp.py +++ b/confluent_server/confluent/networking/lldp.py @@ -88,7 +88,7 @@ _chassisidbyswitch = {} def lenovoname(idx, desc): if desc.isdigit(): - return 'Ethernet' + str(idx) + return 'Ethernet' + str(desc) return desc nameoverrides = [