summaryrefslogtreecommitdiffstats
path: root/clatd.c
diff options
context:
space:
mode:
Diffstat (limited to 'clatd.c')
-rw-r--r--clatd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/clatd.c b/clatd.c
index ca21984..a454770 100644
--- a/clatd.c
+++ b/clatd.c
@@ -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) {