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
commit87baa737443916f11f55b8d42c5ddfd25694e540 (patch)
treeed29382e199d63c7a6560d3fbf3e7ca3a2ea85fd
parent896ef4a54b0578985e5e1360b141593f1d62837b (diff)
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
}