Yeah I'm using a pre 3.11 kernel most of the time, hence me missing it. I'll see if I can come up with something that addresses this issue. Give me a couple of days :)
donald On Wed, May 13, 2015 at 9:58 AM, David Lamparter < [email protected]> wrote: > On Wed, May 13, 2015 at 09:47:39AM -0400, Donald Sharp wrote: > > To further this discussion, on linux the IPV6_MINHOPCOUNT is defined in: > > > > linux/ip6.h, which is not included currently and cannot be because of > > structure conflict between it and netinet/in.h( which is included ). > There > > is a lively discussion here: > > > > http://www.redhat.com/archives/libvir-list/2013-January/msg00891.html > > > > from a few years back about this exact issue. From what I can tell this > > never went anywhere and was just never addressed. > > Hm, the version of linux/in6.h on my box refers to linux/libc-compat.h > which handles this, cf. > http://lxr.free-electrons.com/source/include/uapi/linux/libc-compat.h > It seems this was added between kernel 3.11 and 3.12. (My headers are > for 3.16.) > > We could add an autoconf test to check whether linux/in6.h and > netinet/in.h can be included at the same time, to cover older versions > of the linux headers. That would mean on older versions of the header > files we detect we cannot use linux/in6.h, which would mean we can't use > IPV6_MINHOPCOUNT either. > > Does that sound sensible? > > > -David >
_______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
