mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 14:17:36 +03:00
Handle Drop/Synth actions the same way in query and response plugins
This commit is contained in:
parent
a23f07a93d
commit
b1c08f8931
2 changed files with 23 additions and 13 deletions
|
@ -226,6 +226,7 @@ type Plugin interface {
|
|||
func NewPluginsState(proxy *Proxy, clientProto string, clientAddr *net.Addr, start time.Time) PluginsState {
|
||||
return PluginsState{
|
||||
action: PluginsActionForward,
|
||||
returnCode: PluginsReturnCodeForward,
|
||||
maxPayloadSize: MaxDNSUDPPacketSize - ResponseOverhead,
|
||||
clientProto: clientProto,
|
||||
clientAddr: clientAddr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue