Support write up stream udp packet

This commit is contained in:
Banny 2021-03-15 00:25:30 +08:00
parent ca7e9a9b47
commit daeb789518
1 changed files with 4 additions and 1 deletions

View File

@ -369,9 +369,12 @@ jboolean handle_udp(const struct arguments *args,
cur->udp.state = UDP_FINISHING;
return 0;
}
} else
} else {
cur->udp.sent += datalen;
write_pcap_rec(pkt, length);
}
return 1;
}