diff --git a/ndniptunnel/main.go b/ndniptunnel/main.go index eca1333..3d20e4d 100644 --- a/ndniptunnel/main.go +++ b/ndniptunnel/main.go @@ -57,6 +57,7 @@ func GoOnInterest(cstr *C.char) { ipPacket := <-pktChan sendData(ipPacket.RawPackets, name) } else { + time.Sleep(time.Millisecond) sendData(nil, name) } }