This commit is contained in:
Miek Gieben 2011-08-01 14:09:41 +02:00
parent 9d4cbdbcc8
commit 38d15b76e2

View File

@ -53,8 +53,7 @@ func doFunkenSturm(pkt *dns.Msg) (ret []byte) {
return nil return nil
} }
// Loop through the Funks and decide what to do with // Loop through the Funks and decide what to do with the packet.
// the packet.
for _, f := range f.Funk { for _, f := range f.Funk {
if m, ok := f.Match(pkt); ok { if m, ok := f.Match(pkt); ok {
ret = f.Action(m) ret = f.Action(m)