fix
This commit is contained in:
@@ -49,6 +49,7 @@ func GoOnData(cstr *C.char, size C.int) {
|
||||
//export GoOnInterest
|
||||
func GoOnInterest(cstr *C.char) {
|
||||
name := C.GoString(cstr)
|
||||
common.LogWarn("onInterest: ", name)
|
||||
// 接收到兴趣包,从缓存中取出一个IP包,封装到一个Data中发出
|
||||
ipPacket := <-pktChan
|
||||
sendData(ipPacket.RawPackets, name)
|
||||
|
||||
Reference in New Issue
Block a user