diff --git a/patches/0055-WiFi5-APs-LED-label-change.patch b/patches/0056-WiFi5-APs-LED-label-change.patch similarity index 100% rename from patches/0055-WiFi5-APs-LED-label-change.patch rename to patches/0056-WiFi5-APs-LED-label-change.patch diff --git a/patches/0057-LLDP-interface-name-switch.patch b/patches/0057-LLDP-interface-name-switch.patch new file mode 100644 index 000000000..7bed69ab3 --- /dev/null +++ b/patches/0057-LLDP-interface-name-switch.patch @@ -0,0 +1,25 @@ +From c095555876344c46ac2653e97f4848f7fedd781b Mon Sep 17 00:00:00 2001 +From: Owen Anderson +Date: Fri, 16 Jul 2021 12:53:17 -0400 +Subject: [PATCH] Changed the method we use to get the interface name for lldp + +--- + package/network/services/lldpd/files/lldpd.init | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init +index bc429de484..64dfccfebe 100644 +--- a/package/network/services/lldpd/files/lldpd.init ++++ b/package/network/services/lldpd/files/lldpd.init +@@ -37,7 +37,7 @@ write_lldpd_conf() + local iface ifnames="" + for iface in $ifaces; do + local ifname="" +- if network_get_device ifname "$iface" || [ -e "/sys/class/net/$iface" ]; then ++ if network_get_physdev ifname "$iface" || [ -e "/sys/class/net/$iface" ]; then + append ifnames "${ifname:-$iface}" "," + fi + done +-- +2.25.1 +