Commit c361dacf authored by Max Lv's avatar Max Lv

update shadowsocks

parent c486fd75
......@@ -1232,7 +1232,7 @@ int process_device_dns_packet (uint8_t *data, int data_len)
ipv4_header.checksum = ipv4_checksum(&ipv4_header, NULL, 0);
// build UDP header
udp_header.dest_port = hton16(dnsgw.ipv4.port);
udp_header.dest_port = dnsgw.ipv4.port;
udp_header.checksum = hton16(0);
udp_header.checksum = udp_checksum(&udp_header, data, data_len,
ipv4_header.source_address, ipv4_header.destination_address);
......
Subproject commit 81b1184de3dd497d7855578f779a2eddff42b90c
Subproject commit ad44a0f6bd07d198fd116469c45abc209321776f
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment