From: Roy Marples Date: Fri, 7 Nov 2014 09:59:53 +0000 (+0000) Subject: Support old Linux kernels where IFLA_AF_SPEC may not exist. X-Git-Tag: v6.6.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81eb28381f459f9facfd04a10330e8e516463eb4;p=thirdparty%2Fdhcpcd.git Support old Linux kernels where IFLA_AF_SPEC may not exist. --- diff --git a/if-linux.c b/if-linux.c index 2143e4c4..80f632f6 100644 --- a/if-linux.c +++ b/if-linux.c @@ -53,6 +53,7 @@ /* Linux has these in an enum and there is just no way to work * out of they exist at compile time. Silly silly silly. */ +#define IFLA_AF_SPEC 26 #define IFLA_INET6_ADDR_GEN_MODE 8 #define IN6_ADDR_GEN_MODE_NONE 1