[PATCH] ip6tnl: Use <netinet/in.h> for in6_addr and stuff

Thomas Haller thaller at redhat.com
Sun Jun 29 11:39:57 PDT 2014


On Sat, 2014-06-28 at 08:50 +0100, Thomas Graf wrote:
> <linux/in6.h> is not compatible with some versions of <netinet/in.h>.
> 
> Cc: Susant Sahani <susant at redhat.com>
> Cc: Cong Wang <xiyou.wangcong at gmail.com>
> Signed-off-by: Thomas Graf <tgraf at suug.ch>
> ---
>  lib/route/link/ip6tnl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/route/link/ip6tnl.c b/lib/route/link/ip6tnl.c
> index ed79e82..9fe1367 100644
> --- a/lib/route/link/ip6tnl.c
> +++ b/lib/route/link/ip6tnl.c
> @@ -30,7 +30,7 @@
>  #include <netlink/route/rtnl.h>
>  #include <netlink-private/route/link/api.h>
>  #include <linux/if_tunnel.h>
> -#include <linux/in6.h>
> +#include <netinet/in.h>
>  
>  #define IP6_TNL_ATTR_LINK          (1 << 0)
>  #define IP6_TNL_ATTR_LOCAL         (1 << 1)

applied as:

https://github.com/thom311/libnl/commit/9c2dbdfba58087fae720e2d9621423d1d184cf01


Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20140629/c369f1d0/attachment.sig>


More information about the libnl mailing list