From d3e9e6c32a793709ad5fac6736d3d573d961fe2a Mon Sep 17 00:00:00 2001 From: Esonhugh Date: Sat, 19 Oct 2024 17:26:00 +0800 Subject: [PATCH] fix: filter missing type --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 2ee7e57..11de8f0 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -72,7 +72,7 @@ var RootCmd = &cobra.Command{ pkg.NetResolver.SetFilter(rules) } for _, rules := range Opts.FilterStrings { - pkg.NetResolver.SetFilter(rules) + pkg.NetResolver.SetContainsFilter(rules) } // Check if current environment is a kubernetes cluster // If the command is whereisdns, which means DNS is not sure , so skip this check!