Browse Source

Make sure FakeDNSEngineRev0 also satisfy FakeDNSEngine signature

Shelikhoo 4 years ago
parent
commit
2f35bbecbe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      features/dns/fakedns.go

+ 1 - 0
features/dns/fakedns.go

@@ -12,6 +12,7 @@ type FakeDNSEngine interface {
 }
 
 type FakeDNSEngineRev0 interface {
+	FakeDNSEngine
 	IsIPInIPPool(ip net.Address) bool
 	GetFakeIPForDomain3(domain string, IPv4, IPv6 bool) []net.Address
 }