You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
584 B

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