Skip to content

Commit

Permalink
ip6tnl: Use <netinet/in.h> for in6_addr and stuff
Browse files Browse the repository at this point in the history
<linux/in6.h> is not compatible with some versions of <netinet/in.h>.

Cc: Susant Sahani <susant@redhat.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
  • Loading branch information
tgraf authored and thom311 committed Jun 29, 2014
1 parent 9e0960c commit 9c2dbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/route/link/ip6tnl.c
Expand Up @@ -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)
Expand Down

0 comments on commit 9c2dbdf

Please sign in to comment.