mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 06:19:31 +08:00
Merge ee1e4d33f8f01f8a53be3a726f922ad5eb6195aa into f49e6adedf8129df827c6ee11d8b3f8b456d28f6
This commit is contained in:
commit
3dc19b7994
@ -1714,6 +1714,7 @@ int send_raw_tcp(raw_info_t &raw_info, const char *payload, int payloadlen) { /
|
||||
|
||||
char *tcp_data = send_raw_tcp_buf + +tcph->doff * 4;
|
||||
|
||||
if (payload)
|
||||
memcpy(tcp_data, payload, payloadlen);
|
||||
int tcp_totlen = tcph->doff * 4 + payloadlen;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user