detect it correctly

This commit is contained in:
Miek Gieben 2011-09-20 10:22:35 +02:00
parent db9de9584a
commit acfb57879c
1 changed files with 2 additions and 1 deletions

View File

@ -90,8 +90,9 @@ func dnsDoBitMirror(l *lexer) stateFn {
l.setQuestion(".", dns.TypeNS, dns.ClassINET)
f := l.probe()
if f.Do {
if !f.Do {
l.emit(&item{itemSoftware, NSD})
return nil
}
l.emit(&item{itemSoftware, BIND})
return nil