]> code.ossystems Code Review - openembedded-core.git/commit
ppp: Add two structures in if_pppol2tp.h
authorLu Chong <Chong.Lu@windriver.com>
Sat, 2 Nov 2013 08:30:28 +0000 (16:30 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Dec 2013 16:53:04 +0000 (16:53 +0000)
commit398bae0d288f488020108c7d95bd376249e6ecbf
tree29c017fd74a361e7359023a095f667eed60dffdb
parenta65db42d4b0c6636ee6538a28930e4d19e170d18
ppp: Add two structures in if_pppol2tp.h

Some further structure definitions are needed in include/linux/if_pppol2tp.h for
IPv6 support, else we would get the error as below:

In file included from plugin.c:53:0:
bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:84:26:
error: field 'pppol2tp' has incomplete type
     struct pppol2tpin6_addr pppol2tp;
                   ^
bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:99:28:
error: field 'pppol2tp' has incomplete type
  struct pppol2tpv3in6_addr pppol2tp;
                     ^
make[2]: *** [plugin.o] Error 1

(From OE-Core master rev: 73d08c4bf12e2cc4f291cb018d00b26a5a573be4)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-connectivity/ppp/ppp-2.4.5/0001-ppp-Add-two-structures-in-if_pppol2tp.h.patch [new file with mode: 0644]
meta/recipes-connectivity/ppp/ppp_2.4.5.bb