Explorar el Código

Make sure FakeDNSEngineRev0 also satisfy FakeDNSEngine signature

Shelikhoo hace 4 años
padre
commit
2f35bbecbe
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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
 }