]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Linux: Fix compile without IPv4LL
authorRoy Marples <roy@marples.name>
Thu, 21 Feb 2019 21:21:06 +0000 (21:21 +0000)
committerRoy Marples <roy@marples.name>
Thu, 21 Feb 2019 21:21:06 +0000 (21:21 +0000)
src/route.c

index e14820f36890d5047f134c5df6d18e47b5bc476b..c5f790f90c930947535c963129262fd4760cabbe 100644 (file)
@@ -303,7 +303,7 @@ rt_recvrt(int cmd, const struct rt *rt)
                break;
        }
 
-#if defined(INET) && defined(HAVE_ROUTE_METRIC)
+#if defined(IPV4LL) && defined(HAVE_ROUTE_METRIC)
        if (rt->rt_dest.sa_family == AF_INET)
                ipv4ll_recvrt(cmd, rt);
 #endif