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
commit14b675edb3e3be35c9979f2b5ddfe2a841c33ac9 (patch)
treef3d62e423c434165b27535c296b805836ae23986 /src/if-bsd.c
parent80c8431b79b6e3b56a03153febe2f45f9a861da7 (diff)
downloaddhcpcd-14b675edb3e3be35c9979f2b5ddfe2a841c33ac9.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;