This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenGGSN project".
The branch, pespin/split-ipv6 has been created
at fad9ed431b545a8b314e952f50e7fefc49477553 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ggsn/commit/?id=fad9ed431b545a8b314e952f50e7fe…
commit fad9ed431b545a8b314e952f50e7fefc49477553
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Dec 1 15:29:30 2017 +0100
Split implementation of tun_setaddr6 into a separate module
Some systems containing specific versions of libc and linux kernel can
produce compilation errors due to conflicting definition of structures
in different include files. This can be the case when including <netinet/in.h>
and <linux/in6.h>. See for more information:
https://sourceware.org/glibc/wiki/Synchronizing_Headers
I hit this compilation error on the system I'm compiling osmo-ggsn with:
arm-poky-linux-gnueabi-gcc ... -c in46_addr.c
In file included from /usr/include/linux/ipv6.h:5:0,
from tun.c:75:
/usr/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr'
struct in6_addr {
^
In file included from tun.c:24:0:
/usr/include/netinet/in.h:196:8: note: originally defined here
struct in6_addr
^
To fix the issue, this patch moves tun_setaddr6 to its own file which
then includes <linux/ipv6.h> (which in turn includes in6.h).
Change-Id: Ie161f376edda605e5cd87176169553176235fafd
http://cgit.osmocom.org/osmo-ggsn/commit/?id=b9ace14717a220edb380d21d849e95…
commit b9ace14717a220edb380d21d849e95ae0c30784e
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Dec 1 14:45:31 2017 +0100
cosmetic: Reorder tun_addaddr to get rid of decl of tun_setaddr4
In any case, if we add support for ipv6 in tun_addaddr we will need
tun_setaddr (and also change the API of tun_addaddr to use in46_addr).
Change-Id: Iadf51379455174a642b477040ec96f28022c24c7
http://cgit.osmocom.org/osmo-ggsn/commit/?id=d9fff0c543e48ac49f97fd2b2fffdc…
commit d9fff0c543e48ac49f97fd2b2fffdcb05115dc1e
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Dec 1 15:39:28 2017 +0100
tun_setaddr6: Fix log typo
Change-Id: Id7f7d33a33730d57c5ecf7ebf5612f4744cf5163
-----------------------------------------------------------------------
hooks/post-receive
--
The OpenGGSN project