]> git.ozlabs.org Git - ppp.git/commitdiff
pppd: Fix compilation with older glibc or kernel headers (#248)
authorpali <7141871+pali@users.noreply.github.com>
Mon, 15 Feb 2021 06:54:01 +0000 (07:54 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Feb 2021 06:54:01 +0000 (17:54 +1100)
glibc versions prior to 2.24 do not define SOL_NETLINK and linux kernel
versions prior to 4.3 do not define NETLINK_CAP_ACK. So add fallback
definitions for these macros into pppd/sys-linux.c file.

Also extend description why we call SOL_NETLINK/NETLINK_CAP_ACK option.

Signed-off-by: Pali Rohár <pali@kernel.org>

No differences found