]> git.ozlabs.org Git - ppp.git/commitdiff
pppd: Fix compilation on Linux when IPV6 is disabled (#360)
authorPaul Mackerras <paulus@ozlabs.org>
Fri, 5 Aug 2022 04:06:33 +0000 (14:06 +1000)
committerGitHub <noreply@github.com>
Fri, 5 Aug 2022 04:06:33 +0000 (14:06 +1000)
This rearranges the PPP_WITH_IPV6CP guards added in commit
80b8744eb42c ("Changing INET6 to PPP_WITH_IPV6CP and adding configure
option", 2021-08-06) so that we (a) always include the rtnetlink
headers, since we need them for get_ppp_stats_rtnetlink(), and (b)
don't include eui64.h unless we have IPV6 support.

Fixes: 80b8744eb42c ("Changing INET6 to PPP_WITH_IPV6CP and adding configure option")
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>

No differences found