From 6eb24a058d343758e5e80883a9fa6ffb1dbd4e70 Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 5 Feb 2026 20:56:52 +0000 Subject: [PATCH] Treat interfaces with Ethernet addresses as Ethernet. See #2711 --- libnetutil/netutil.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libnetutil/netutil.cc b/libnetutil/netutil.cc index d17a0759a..4ae62618f 100644 --- a/libnetutil/netutil.cc +++ b/libnetutil/netutil.cc @@ -1522,7 +1522,8 @@ static int collect_dnet_interfaces(const struct intf_entry *entry, void *arg) { sizeof(dcrn->ifaces[dcrn->numifaces].devfullname)); /* Interface type */ - if (entry->intf_type == INTF_TYPE_ETH && (entry->intf_flags & INTF_FLAG_NOARP) == 0) { + if ((entry->intf_type == INTF_TYPE_ETH || entry->intf_link_addr.addr_type == ADDR_TYPE_ETH) + && (entry->intf_flags & INTF_FLAG_NOARP) == 0) { dcrn->ifaces[dcrn->numifaces].device_type = devt_ethernet; /* Collect the MAC address since this is ethernet */ memcpy(dcrn->ifaces[dcrn->numifaces].mac, &entry->intf_link_addr.addr_eth.data, 6);