typo
This commit is contained in:
parent
6a86b5ae76
commit
70692450c7
|
@ -10,7 +10,7 @@ func handleXfrOut(d *dns.Conn, i *dns.Msg) os.Error {
|
|||
if i.IsAxfr() {
|
||||
fmt.Printf("Incoming Axfr request seen\n")
|
||||
if i.Question[0].Name == Zone.name {
|
||||
fmt.Printf("Matchies current zone\n")
|
||||
fmt.Printf("Matches current zone\n")
|
||||
if !Zone.correct {
|
||||
fmt.Printf("Zone was not deemed correct\n")
|
||||
if err := d.WriteMsg(i); err != nil {
|
||||
|
|
|
@ -41,7 +41,7 @@ func handle(d *dns.Conn, i *dns.Msg) {
|
|||
}
|
||||
if Zone.name != "" {
|
||||
// We have transfered a zone and can check it. For now assume ok.
|
||||
Zone.correct = true
|
||||
Zone.correct = false
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ func main() {
|
|||
|
||||
// Outgoing queries
|
||||
dns.InitQueryChannels()
|
||||
go query("tcp" err)
|
||||
go query("tcp", err)
|
||||
go query("udp", err)
|
||||
|
||||
// Incoming queries
|
||||
|
|
Loading…
Reference in New Issue