cmd/cli: only set DNS for physical interfaces on Windows

By filtering the interfaces by MAC address instead of name.
This commit is contained in:
Cuong Manh Le
2024-03-01 15:16:40 +07:00
committed by Cuong Manh Le
parent 73a697b2fa
commit e89021ec3a
4 changed files with 61 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build !darwin
//go:build !darwin && !windows
package cli