diff options
| author | 杨威 <[email protected]> | 2023-02-08 10:32:34 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2023-02-08 18:43:04 +0800 |
| commit | b87398d89347fbc966a1c7041e1fcc850dd90049 (patch) | |
| tree | 10fd36aa6db9ea0664ad992955e7e9e0afb0f2ed | |
| parent | f322ed6d4c001874fe1e184fa466c67d3a81261f (diff) | |
🐞 fix(get_rawpkt_from_streaminfo): 修复判断是否在包处理上下文时的错误v4.2.92
| -rw-r--r-- | src/dealpkt/plug_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dealpkt/plug_support.c b/src/dealpkt/plug_support.c index aec6c3f..9e6d184 100644 --- a/src/dealpkt/plug_support.c +++ b/src/dealpkt/plug_support.c @@ -422,7 +422,7 @@ static int get_vxlan_info_from_streaminfo(const struct streaminfo_private *pstre const void *get_rawpkt_from_streaminfo(const struct streaminfo *pstream) { const struct streaminfo_private *pstream_pr = (const struct streaminfo_private *)pstream; - if(pstream_pr->packet_io_context == 1) + if(pstream_pr->packet_io_context != 0) { return pstream_pr->raw_pkt; } |
