dns64: check the original question, not the returned one

This commit is contained in:
Frank Denis 2020-09-17 00:10:11 +02:00
parent 26505ab560
commit c74b993cbb
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func (plugin *PluginDNS64) Reload() error {
} }
func (plugin *PluginDNS64) Eval(pluginsState *PluginsState, msg *dns.Msg) error { func (plugin *PluginDNS64) Eval(pluginsState *PluginsState, msg *dns.Msg) error {
if !hasAAAAQuestion(msg) || hasAAAAAnswer(msg) { if !hasAAAAQuestion(pluginsState.questionMsg) || hasAAAAAnswer(msg) {
return nil return nil
} }