From bdc3b13e6648573c3a4cc769a27bc1ddd32a1187 Mon Sep 17 00:00:00 2001 From: "Harper, Jason M" Date: Wed, 8 Apr 2026 15:29:19 -0700 Subject: [PATCH] fix: don't include veth NICs in summary field Signed-off-by: Harper, Jason M --- internal/extract/nic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/extract/nic.go b/internal/extract/nic.go index 3a634802..433f70bb 100644 --- a/internal/extract/nic.go +++ b/internal/extract/nic.go @@ -231,8 +231,8 @@ func NICSummaryFromOutput(outputs map[string]script.ScriptOutput) string { nics := ParseNicInfo(outputs[script.NicInfoScriptName].Stdout) modelCount := make(map[string]int) for _, nic := range nics { - // don't include virtual functions or bridge devices in the summary as they are not physical NICs, and we want the summary to reflect physical hardware - if nic.IsVirtual || strings.Contains(nic.Name, "(virtual)") || nic.Driver == "bridge" { + // don't include virtual functions, bridge devices, or virtual Ethernet pairs (veth) devices in the summary as they are not physical NICs, and we want the summary to reflect physical hardware + if nic.IsVirtual || strings.Contains(nic.Name, "(virtual)") || nic.Driver == "bridge" || nic.Driver == "veth" { continue } if strings.TrimSpace(nic.Model) == "" {