mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
fuzzing: fix broken oss-fuzz build (#6880)
Signed-off-by: Adam Korczynski <adam@adalogics.com>
This commit is contained in:
@@ -17,8 +17,8 @@ var f *Forward
|
|||||||
func init() {
|
func init() {
|
||||||
f = New()
|
f = New()
|
||||||
s := dnstest.NewServer(r{}.reflectHandler)
|
s := dnstest.NewServer(r{}.reflectHandler)
|
||||||
f.SetProxy(proxy.NewProxy(s.Addr, "tcp"))
|
f.SetProxy(proxy.NewProxy("FuzzForwardPlugin1", s.Addr, "tcp"))
|
||||||
f.SetProxy(proxy.NewProxy(s.Addr, "udp"))
|
f.SetProxy(proxy.NewProxy("FuzzForwardPlugin2", s.Addr, "udp"))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fuzz fuzzes forward.
|
// Fuzz fuzzes forward.
|
||||||
|
|||||||
Reference in New Issue
Block a user