fix values by zones

This commit is contained in:
Martin/Geno 2019-05-13 21:12:15 +02:00 committed by genofire
parent 0645ee6a72
commit 844be7109b
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ type AnswerConfig struct {
func (d *Daemon) getAnswer(iface string) (*AnswerConfig, string) { func (d *Daemon) getAnswer(iface string) (*AnswerConfig, string) {
config := d.Answer config := d.Answer
if v, ok := d.AnswerByZones[iface]; iface == "" && ok { if v, ok := d.AnswerByZones[iface]; iface != "" && ok {
config = v config = v
} }