summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-05-04 13:53:07 +0100
committerRoy Marples <roy@marples.name>2019-05-04 13:53:07 +0100
commitd7abd5a29befa3435cf70764b6983386ff2a3b2c (patch)
treeed29382e199d63c7a6560d3fbf3e7ca3a2ea85fd
parentd30538898e39cc9a49ced4e67e91013d1d84a2c2 (diff)
downloaddhcpcd-d7abd5a29befa3435cf70764b6983386ff2a3b2c.tar.xz
OpenBSD: Fix compile
-rw-r--r--src/if-bsd.c3
1 files changed, 2 insertions, 1 deletions
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
}