From: Roy Marples Date: Wed, 7 Aug 2019 15:18:50 +0000 (+0100) Subject: BSD: warn if kernel does not support route(4) filtering X-Git-Tag: v8.0.3~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd4339ea0dcd20be0715606daa3669b8677e21f6;p=thirdparty%2Fdhcpcd.git BSD: warn if kernel does not support route(4) filtering --- diff --git a/src/if-bsd.c b/src/if-bsd.c index b87cf337..f4d84982 100644 --- a/src/if-bsd.c +++ b/src/if-bsd.c @@ -191,6 +191,8 @@ if_opensockets_os(struct dhcpcd_ctx *ctx) if (setsockopt(ctx->link_fd, PF_ROUTE, ROUTE_MSGFILTER, &msgfilter_mask, sizeof(msgfilter_mask)) == -1) logerr(__func__); +#else +#warn kernel does not support route message filtering #endif return 0;