mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 06:15:51 +00:00
fix: mistyped receiver for dns/resolver/general.go
This commit is contained in:
parent
a244aa6f1b
commit
59a6d7b376
@ -26,8 +26,8 @@ func (r *GeneralResolver) Resolve(ctx context.Context, host string, qTypes []uin
|
|||||||
return addrs, err
|
return addrs, err
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *GeneralResolver) String() string {
|
func (r *GeneralResolver) String() string {
|
||||||
return fmt.Sprintf("general resolver(%s)", c.server)
|
return fmt.Sprintf("general resolver(%s)", r.server)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *GeneralResolver) exchange(ctx context.Context, msg *dns.Msg) (*dns.Msg, error) {
|
func (r *GeneralResolver) exchange(ctx context.Context, msg *dns.Msg) (*dns.Msg, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user