diff options
Diffstat (limited to 'clatd.c')
-rw-r--r-- | clatd.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -364,7 +364,7 @@ void read_packet(int read_fd, int write_fd, int to_ipv6) { packet = (uint8_t *) (tun_header + 1); readlen -= sizeof(*tun_header); - translate_packet(write_fd, to_ipv6, packet, readlen); + translate_packet(write_fd, to_ipv6, packet, readlen, TP_CSUM_NONE); } /* function: event_loop @@ -496,9 +496,6 @@ int main(int argc, char **argv) { // run under a regular user drop_root(); - //check HW features and disable checksum validation if already handled by hardware - rx_checksum_offloaded = check_csum_offload(uplink_interface); - // we can create tun devices as non-root because we're in the VPN group. tunnel.fd4 = tun_open(); if(tunnel.fd4 < 0) { |