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.

21 lines
638 B

  1. --- a/libtun6/tun6.c 2012-09-12 17:03:59.000000000 +0400
  2. +++ b/libtun6/tun6.c 2019-04-07 02:21:07.439952535 +0300
  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 @@
  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. {