From: martijn Date: Sun, 2 May 2021 14:39:05 +0000 (+0000) Subject: Fix having hostnames in the listen on statement. Regression introduced in X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aa09fe166f7ce984bc8ff78e825375f6c81f61c7;p=openbsd Fix having hostnames in the listen on statement. Regression introduced in r1.39. Issue originally reported by Anton Kasimov via rob@. OK claudio@ --- 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