add "ignoreExpectIPsWhenNoMatch" option

pull/4497/head
peymanhaji2 2025-03-16 01:22:13 +03:30
parent 803523679e
commit ffe94353f5
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ func NewClient(
client.skipFallback = ns.SkipFallback
client.domains = rules
client.expectIPs = matchers
client.ignoreExpectIPsWhenNoMatch = ns.IgnoreExpectIPsWhenNoMatch
return nil
})
return client, err