]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
OpenBSD: Fix compile
authorRoy Marples <roy@marples.name>
Sat, 4 May 2019 12:53:07 +0000 (13:53 +0100)
committerRoy Marples <roy@marples.name>
Sat, 4 May 2019 12:53:07 +0000 (13:53 +0100)
src/if-bsd.c

index b93aa20786acbd121fac8900bc11cfbd252a44de..5e7fc3b6246d56525598e1c4de8e7ecf6ff854c4 100644 (file)
@@ -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
        }