aboutsummaryrefslogtreecommitdiff
path: root/ipv6/miredo/patches/002-fix-redefinition-ethadr.patch
blob: ead27096dc458f1c6b68a868f5b4526429bd0e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/libtun6/tun6.c
+++ b/libtun6/tun6.c
@@ -53,7 +53,7 @@
 const char os_driver[] = "Linux";
 # define USE_LINUX 1
 
-# include <linux/if_tun.h> // TUNSETIFF - Linux tunnel driver
+# include <linux/if_tun.h> // TUNSETIFF - Linux tunnel driver, ETH_P_IPV6
 /*
  * <linux/ipv6.h> conflicts with <netinet/in.h> and <arpa/inet.h>,
  * so we've got to declare this structure by hand.
@@ -65,7 +65,7 @@ struct in6_ifreq {
 };
 
 # include <net/route.h> // struct in6_rtmsg
-# include <netinet/if_ether.h> // ETH_P_IPV6
+//# include <netinet/if_ether.h> // ETH_P_IPV6
 
 typedef struct
 {