]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
FreeBSD: warn that we cannot detect overflow on the route socket.
authorRoy Marples <roy@marples.name>
Sat, 3 Aug 2019 07:48:57 +0000 (08:48 +0100)
committerRoy Marples <roy@marples.name>
Sat, 3 Aug 2019 07:48:57 +0000 (08:48 +0100)
src/if-bsd.c

index b61021809dc0238f3ea488e9957623647e7fd3d5..2c4f4d031e1319aaa335dddaf498ab29c4a05fcc 100644 (file)
@@ -1314,6 +1314,8 @@ if_dispatch(struct dhcpcd_ctx *ctx, const struct rt_msghdr *rtm)
 #ifdef RTM_DESYNC
        case RTM_DESYNC:
                dhcpcd_linkoverflow(ctx);
+#elif !defined(SO_RERROR)
+#warning cannot detect route socket overflow within kernel
 #endif
        }