diff options
| author | Roy Marples <roy@marples.name> | 2020-06-05 13:02:32 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-06-05 13:02:32 +0100 |
| commit | 2fb47c1e60e66d646036829a02b6be82abe8df7a (patch) | |
| tree | 3de8de4a9da243464f5639c9c4be024f72c1aa03 /src/if.c | |
| parent | 8b0d90f51e53d152d5b170db87089e0e15ded3a3 (diff) | |
| download | dhcpcd-2fb47c1e60e66d646036829a02b6be82abe8df7a.tar.xz | |
OpenBSD: disable setting resource limits as we have pledge.
Diffstat (limited to 'src/if.c')
| -rw-r--r-- | src/if.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ if_opensockets(struct dhcpcd_ctx *ctx) if (if_opensockets_os(ctx) == -1) return -1; -#ifdef PF_LINK +#ifdef IFLR_ACTIVE ctx->pf_link_fd = xsocket(PF_LINK, SOCK_DGRAM | SOCK_CLOEXEC, 0); if (ctx->pf_link_fd == -1) return -1; |
