summaryrefslogtreecommitdiffstats
path: root/src/if-bsd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-04-02 19:54:19 +0000
committerRoy Marples <roy@marples.name>2020-04-02 19:54:19 +0000
commit12ddbee51f0e1cf4372146f8d42ea404dd07dba3 (patch)
treef3d62e423c434165b27535c296b805836ae23986 /src/if-bsd.c
parent1ce309516d99c379a1ec278dbe1796308be80f44 (diff)
downloaddhcpcd-12ddbee51f0e1cf4372146f8d42ea404dd07dba3.tar.xz
Fix build without INET or INET6
Diffstat (limited to 'src/if-bsd.c')
-rw-r--r--src/if-bsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/if-bsd.c b/src/if-bsd.c
index dbe5c359..d6c38903 100644
--- a/src/if-bsd.c
+++ b/src/if-bsd.c
@@ -1524,6 +1524,8 @@ if_missfilter0(struct dhcpcd_ctx *ctx, struct interface *ifp,
#ifdef INET6
if (sa->sa_family == AF_INET6)
ifa_setscope(satosin6(sa), ifp->index);
+#else
+ UNUSED(ifp);
#endif
cp = ctx->rt_missfilter + ctx->rt_missfilterlen;