]> granicus.if.org Git - libnl/commit
tunnel: add a copy of include/linux/if_tunnel.h
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 7 May 2014 17:22:50 +0000 (10:22 -0700)
committerThomas Haller <thaller@redhat.com>
Mon, 12 May 2014 12:03:34 +0000 (14:03 +0200)
commitc79754297adcd933b275aeabbb94d9bd34f3bb33
tree8e22a8e8ab31e458a4f2ff2d4e7dea9ff60df8fe
parente21099908f6e22d869b2b8eeb1ffbcc2eff209e4
tunnel: add a copy of include/linux/if_tunnel.h

This should fix the following compile error:

route/link/ipip.c:52: error: ‘IFLA_IPTUN_MAX’ undeclared here (not in a function)
route/link/ipip.c:53: error: ‘IFLA_IPTUN_LINK’ undeclared here (not in a function)
route/link/ipip.c:53: error: array index in initializer not of integer type
route/link/ipip.c:53: error: (near initialization for ‘ipip_policy’)
route/link/ipip.c:53: error: field name not in record or union initializer
route/link/ipip.c:53: error: (near initialization for ‘ipip_policy’)
...

Reported-by: Vinson Lee <vlee@twitter.com>
Cc: Susant Sahani <susant@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
include/Makefile.am
include/linux/if_tunnel.h [new file with mode: 0644]