mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 06:15:31 +00:00
Delete redunant checksum setter
This commit is contained in:
parent
9c839a5094
commit
731da0dd50
@ -234,9 +234,6 @@ static int send_raw_ipv6(const uint8_t *pkt, uint32_t pktlen) {
|
||||
.sin6_addr = iph->ip6_dst
|
||||
};
|
||||
|
||||
tcp6_set_checksum((void *)(uint8_t *)pkt + sizeof(struct ip6_hdr), (void *)pkt);
|
||||
|
||||
|
||||
if (config.threads != 1)
|
||||
pthread_mutex_lock(&rawsocket_lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user