diff --git a/respond/daemon/config.go b/respond/daemon/config.go index fa4b7f9..3948fb9 100644 --- a/respond/daemon/config.go +++ b/respond/daemon/config.go @@ -41,7 +41,7 @@ type AnswerConfig struct { func (d *Daemon) getAnswer(iface string) (*AnswerConfig, string) { config := d.Answer - if v, ok := d.AnswerByZones[iface]; iface == "" && ok { + if v, ok := d.AnswerByZones[iface]; iface != "" && ok { config = v }