修复笔误

This commit is contained in:
崔一鸣
2019-12-16 10:59:35 +08:00
parent a52136fb6b
commit e879652c48

View File

@@ -1102,7 +1102,7 @@ void next_data_intercept(struct pme_info *pmeinfo, const void *a_packet, struct
ipv4_hdr = (struct iphdr*)a_packet; ipv4_hdr = (struct iphdr*)a_packet;
len = ntohs(ipv4_hdr->tot_len); len = ntohs(ipv4_hdr->tot_len);
} }
if(pktinfo.ip_totlen > KNI_DEFAULT_MTU){ if(pktinfo->ip_totlen > KNI_DEFAULT_MTU){
KNI_LOG_DEBUG(logger, "Next data packet exceed MTU(1500), stream traceid = %s, stream addr = %s", KNI_LOG_DEBUG(logger, "Next data packet exceed MTU(1500), stream traceid = %s, stream addr = %s",
pmeinfo->stream_traceid, pmeinfo->stream_addr); pmeinfo->stream_traceid, pmeinfo->stream_addr);
return; return;