diff options
Diffstat (limited to 'conf.c')
| -rw-r--r-- | conf.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -322,7 +322,7 @@ out: * * Return: 0 on success, negative error code if the file can't be opened * - * #syscalls:pasta openat + * #syscalls openat */ static int conf_resolv_update(struct ctx *c) { @@ -413,9 +413,6 @@ void conf_resolv_watch(struct ctx *c) char dir[PATH_MAX], *base; int fd = -1, dir_fd, rc; - if (c->mode != MODE_PASTA) - return; - if (IN4_IS_ADDR_UNSPECIFIED(&c->ip4.dns_match)) c->ip4.dns_host_resolv = false; if (IN6_IS_ADDR_UNSPECIFIED(&c->ip6.dns_match)) |
