multiplexing is in use; patch from Sami Hartikainen via bz#2324;
ok dtucker@
-/* $OpenBSD: mux.c,v 1.48 2014/07/17 07:22:19 djm Exp $ */
+/* $OpenBSD: mux.c,v 1.49 2014/12/22 07:24:11 djm Exp $ */
/*
* Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
*
buffer_put_cstring(&m, fwd->listen_path);
} else {
buffer_put_cstring(&m,
- fwd->listen_host == NULL ? "" : fwd->listen_host);
+ fwd->listen_host == NULL ? "" :
+ (*fwd->listen_host == '\0' ? "*" : fwd->listen_host));
}
buffer_put_int(&m, fwd->listen_port);
if (fwd->connect_path != NULL) {