tweaks
This commit is contained in:
parent
6df62a99cb
commit
6f90b9d4d6
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue