From: Roy Marples Date: Sat, 4 May 2019 12:53:07 +0000 (+0100) Subject: OpenBSD: Fix compile X-Git-Tag: v7.2.3~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7abd5a29befa3435cf70764b6983386ff2a3b2c;p=thirdparty%2Fdhcpcd.git OpenBSD: Fix compile --- diff --git a/src/if-bsd.c b/src/if-bsd.c index b93aa207..5e7fc3b6 100644 --- a/src/if-bsd.c +++ b/src/if-bsd.c @@ -1305,7 +1305,8 @@ if_dispatch(struct dhcpcd_ctx *ctx, const struct rt_msghdr *rtm) return if_ifa(ctx, (const void *)rtm); #ifdef RTM_DESYNC case RTM_DESYNC: - return dhcpcd_linkoverflow(ctx); + dhcpcd_linkoverflow(ctx); + return 0; #endif }