]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iproute: fix compilation issue with older glibc
authorDavid Lebrun <david.lebrun@uclouvain.be>
Fri, 16 Jun 2017 13:54:28 +0000 (15:54 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 16 Jun 2017 16:03:48 +0000 (09:03 -0700)
commite4319590f70b0b9ed2beebafaacb323ecf781e50
treecb7e08305c7215c52185ec770287d0c25297c62c
parentad0a6a2c63fe78a133957b3e3ea2c39deb525444
iproute: fix compilation issue with older glibc

If a header that includes linux/in6.h is included before
iproute's utils.h, then iproute2 fails to compile on older
glibc versions.

Fixes: e8493916a8ede9970732e33ea52d30b83071f401 ("iproute: add support for SR-IPv6 lwtunnel encapsulation")
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
ip/iproute_lwtunnel.c