This commit is contained in:
Miek Gieben 2011-01-23 19:38:27 +01:00
parent 6df62a99cb
commit 6f90b9d4d6
2 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@
include $(GOROOT)/src/Make.inc
TARG=funkensturm
GOFILES=funkensturm.go\
config_delay.go\
config.go\
DEPS=../../
include $(GOROOT)/src/Make.cmd

View File

@ -129,6 +129,11 @@ func doFunkensturm(i []byte) ([]byte, os.Error) {
pkt1, _ = m.Func(pkt1, OUT)
}
if pkt1 == nil {
// don't need to send something back
return nil, nil
}
if *verbose {
fmt.Printf(">>>>>> MODIFIED OUTGOING\n")
fmt.Printf("%v", pkt1)