From 731da0dd50862e34c29de54e62b2815227c44619 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Sun, 1 Sep 2024 16:53:11 +0300 Subject: [PATCH] Delete redunant checksum setter --- youtubeUnblock.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/youtubeUnblock.c b/youtubeUnblock.c index 26c4660..a57cb69 100644 --- a/youtubeUnblock.c +++ b/youtubeUnblock.c @@ -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);