修改为更安全的初始化方式

This commit is contained in:
zhengchao
2018-12-01 15:34:55 +08:00
parent 37f32d59f0
commit b5f68ae7d5
2 changed files with 5 additions and 5 deletions

View File

@@ -571,7 +571,7 @@ int kni_keepalive_replay(struct stream_tuple4_v4* ipv4_addr,int iprever_flag,str
{
return 0;
}
assert(iprever_flag<2);
int index=1-iprever_flag;