optimized the LLDP part