mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-04-07 12:32:04 +02:00
The handler variable is dns.HandlerFunc but wrapIPv6Handler returns dns.Handler (interface). Go's type inference picked dns.HandlerFunc for ipv6Handler, causing a compile error on assignment. Explicit type declaration fixes the mismatch.