dont error on nil pkts

This commit is contained in:
Miek Gieben 2011-01-23 19:32:38 +01:00
parent 6ccd86a048
commit 6df62a99cb
1 changed files with 0 additions and 4 deletions

View File

@ -114,10 +114,6 @@ func doFunkensturm(i []byte) ([]byte, os.Error) {
resultpkt = a.Func(pkt1, ok)
}
if resultpkt == nil {
return nil, &dns.Error{Error: "Action function returned nil packet"}
}
if *verbose {
fmt.Printf(">>>>>> ORIGINAL OUTGOING\n")
fmt.Printf("%v", resultpkt)