From: Roy Marples Date: Thu, 21 Feb 2019 21:21:06 +0000 (+0000) Subject: Linux: Fix compile without IPv4LL X-Git-Tag: v7.2.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ac8c3e698c8be0ae016a392991cae8d8f965f6;p=thirdparty%2Fdhcpcd.git Linux: Fix compile without IPv4LL --- diff --git a/src/route.c b/src/route.c index e14820f3..c5f790f9 100644 --- a/src/route.c +++ b/src/route.c @@ -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