]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
route: Compile on older BSD platforms
authorRoy Marples <roy@marples.name>
Fri, 7 Jun 2019 15:59:41 +0000 (16:59 +0100)
committerRoy Marples <roy@marples.name>
Fri, 7 Jun 2019 15:59:41 +0000 (16:59 +0100)
src/route.h

index 70450100efe5c5c9b5e473a85c638e036cdb1612..fb537f5d6b00b85706e7d4fa35f29359ed36cc6d 100644 (file)
@@ -46,9 +46,9 @@
  * when dealing with millions of routes.
  */
 #if !defined(RT_FREE_ROUTE_TABLE)
-#define RT_FREE_ROUTE_TABLE
+#define        RT_FREE_ROUTE_TABLE 1
 #elif RT_FREE_ROUTE_TABLE == 0
-#undef RT_FREE_ROUTE_TABLE
+#undef RT_FREE_ROUTE_TABLE
 #endif
 
 /* Some systems have route metrics.