From 761d8032dbd7cc52d720d15fb68182c3a6bb7547 Mon Sep 17 00:00:00 2001 From: patterniha <71074308+patterniha@users.noreply.github.com> Date: Sat, 7 Nov 2026 07:11:54 +0330 Subject: [PATCH] TUN inbound: Log "unable to get the interface" for an ignored IPv6 interface error on Windows Like the other IPv6 steps, so that an ignored missing IPv6 interface no longer logs as a bare "Element not found." Co-Authored-By: Claude Opus 5.5 --- proxy/tun/tun_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/tun/tun_windows.go b/proxy/tun/tun_windows.go index 3fcd921d6..1ff394e1f 100644 --- a/proxy/tun/tun_windows.go +++ b/proxy/tun/tun_windows.go @@ -204,7 +204,7 @@ startOver: } ipif, err := t.luid.IPInterface(family) if err != nil { - if ignored(family, err) { + if ignored(family, errors.New("unable to get the interface").Base(err)) { continue } return err