From aa09fe166f7ce984bc8ff78e825375f6c81f61c7 Mon Sep 17 00:00:00 2001 From: martijn Date: Sun, 2 May 2021 14:39:05 +0000 Subject: [PATCH] Fix having hostnames in the listen on statement. Regression introduced in r1.39. Issue originally reported by Anton Kasimov via rob@. OK claudio@ --- usr.sbin/ldapd/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ldapd/parse.y b/usr.sbin/ldapd/parse.y index 500ecc51c73..54b7a3170f3 100644 --- a/usr.sbin/ldapd/parse.y +++ b/usr.sbin/ldapd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.39 2021/01/09 14:51:45 rob Exp $ */ +/* $OpenBSD: parse.y,v 1.40 2021/05/02 14:39:05 martijn Exp $ */ /* * Copyright (c) 2009, 2010 Martin Hedenfalk @@ -1066,7 +1066,7 @@ host_dns(const char *s, const char *cert, TAILQ_INSERT_HEAD(al, h, entry); } freeaddrinfo(res0); - return 0; + return 1; } int -- 2.20.1