DSN is implicitly enabled when using `listen on sock' but it's not for
the implicit socket, avoid this incoherence by enabling it on the
implicit socket too.
Report and diff by Tassilo Philipp (tphilipp at potion-studios dot com)
ok millert@
-/* $OpenBSD: parse.y,v 1.293 2023/12/01 09:25:49 op Exp $ */
+/* $OpenBSD: parse.y,v 1.294 2023/12/03 11:48:52 op Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
/* If the socket listener was not configured, create a default one. */
if (!conf->sc_sock_listener) {
memset(&listen_opts, 0, sizeof listen_opts);
+ listen_opts.flags |= F_EXT_DSN;
create_sock_listener(&listen_opts);
}