mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-03 02:08:45 +00:00
Refine DNS Options
This commit is contained in:
@@ -39,7 +39,7 @@ func (*Client) LookupIP(host string) ([]net.IP, error) {
|
||||
}
|
||||
|
||||
// LookupOptions implements Client.
|
||||
func (c *Client) LookupOptions(host string, _ dns.IPOption) ([]net.IP, error) {
|
||||
func (c *Client) LookupOptions(host string, _ ...dns.Option) ([]net.IP, error) {
|
||||
return c.LookupIP(host)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user