]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Support old Linux kernels where IFLA_AF_SPEC may not exist.
authorRoy Marples <roy@marples.name>
Fri, 7 Nov 2014 09:59:53 +0000 (09:59 +0000)
committerRoy Marples <roy@marples.name>
Fri, 7 Nov 2014 09:59:53 +0000 (09:59 +0000)
if-linux.c

index 2143e4c4036ac235e588b6846b8dfaf2db4ae985..80f632f6fd560867f6e5b6b0d969851d58c1a29c 100644 (file)
@@ -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