From 883ef8ba57ee6219270503a696d4cc1bbd3b3f6b Mon Sep 17 00:00:00 2001 From: chris hellberg Date: Thu, 30 Dec 2021 00:32:32 -0500 Subject: [PATCH] another stray comment --- src/tun.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/tun.c b/src/tun.c index 38c01de..abe8076 100644 --- a/src/tun.c +++ b/src/tun.c @@ -552,7 +552,6 @@ write_tun(int tun_fd, char *data, size_t len) #ifdef LINUX if (i == 64) { - fprintf(stderr, "IPv4 packet\n"); // Look at the fifth bype // Linux prefixes with 32 bits ethertype // 0x0800 for IPv4, 0x86DD for IPv6 @@ -561,7 +560,6 @@ write_tun(int tun_fd, char *data, size_t len) data[2] = 0x08; data[3] = 0x00; } else { /* 96 for IPV6 */ - fprintf(stderr, "IPv6 packet\n"); data[0] = 0x00; data[1] = 0x00; data[2] = 0x86; @@ -571,13 +569,11 @@ write_tun(int tun_fd, char *data, size_t len) // BSDs prefix with 32 bits address family // AF_INET for IPv4, AF_INET6 for IPv6 if (i == 64) { - fprintf(stderr, "IPv4 packet\n"); data[0] = 0x00; data[1] = 0x00; data[2] = 0x00; data[3] = 0x02; } else { /* 96 for IPV6 */ - fprintf(stderr, "IPv6 packet\n"); data[0] = 0x00; data[1] = 0x00; data[2] = 0x00;