diff --git a/src/CLI/renderer/templates/lldp_neighbor_show.j2 b/src/CLI/renderer/templates/lldp_neighbor_show.j2 index 950145ff29..16c5134783 100755 --- a/src/CLI/renderer/templates/lldp_neighbor_show.j2 +++ b/src/CLI/renderer/templates/lldp_neighbor_show.j2 @@ -12,7 +12,6 @@ {% for v in desc %} {{' '}}{{v}} {% endfor %} -{{' TTL: '}}{{value['state']['ttl']}} {% for cap in value['capabilities']['capability'] %} {% if cap['state']['enabled'] == true %} {% set en = 'ON' %} @@ -24,7 +23,7 @@ {% endfor %} {{' Port'}} {{' PortID: '}}{{value['state']['port_id']}} -{{' PortDescr: '}}{{value['state']['port_description']}} +{{' PortDescr: '}}{{value['state']['port_description']}} {{'-----------------------------------------------------------'}} {% endfor %} diff --git a/src/translib/lldp_app.go b/src/translib/lldp_app.go index 86edc158ff..7210c78357 100644 --- a/src/translib/lldp_app.go +++ b/src/translib/lldp_app.go @@ -270,12 +270,7 @@ func (app *lldpApp) getLldpNeighInfoFromInternalMap(ifName *string, ifInfo *ocbi *sdesc = value ngInfo.State.SystemDescription = sdesc case LLDP_REMOTE_REM_TIME: - ttlVal , err:=strconv.Atoi(value) - if err == nil { - ttlPtr := new(uint16) - *ttlPtr = uint16(ttlVal) - ngInfo.State.Ttl = ttlPtr - } + /* Ignore Remote System time */ case LLDP_REMOTE_PORT_ID: remPortIdPtr := new(string) *remPortIdPtr = value