summaryrefslogtreecommitdiff
path: root/mux.c
diff options
context:
space:
mode:
Diffstat (limited to 'mux.c')
-rw-r--r--mux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mux.c b/mux.c
index 48f7a050f..f3faaeec9 100644
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mux.c,v 1.48 2014/07/17 07:22:19 djm Exp $ */ 1/* $OpenBSD: mux.c,v 1.50 2015/01/20 23:14:00 deraadt Exp $ */
2/* 2/*
3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -33,7 +33,6 @@
33#include "includes.h" 33#include "includes.h"
34 34
35#include <sys/types.h> 35#include <sys/types.h>
36#include <sys/param.h>
37#include <sys/stat.h> 36#include <sys/stat.h>
38#include <sys/socket.h> 37#include <sys/socket.h>
39#include <sys/un.h> 38#include <sys/un.h>
@@ -1689,7 +1688,8 @@ mux_client_forward(int fd, int cancel_flag, u_int ftype, struct Forward *fwd)
1689 buffer_put_cstring(&m, fwd->listen_path); 1688 buffer_put_cstring(&m, fwd->listen_path);
1690 } else { 1689 } else {
1691 buffer_put_cstring(&m, 1690 buffer_put_cstring(&m,
1692 fwd->listen_host == NULL ? "" : fwd->listen_host); 1691 fwd->listen_host == NULL ? "" :
1692 (*fwd->listen_host == '\0' ? "*" : fwd->listen_host));
1693 } 1693 }
1694 buffer_put_int(&m, fwd->listen_port); 1694 buffer_put_int(&m, fwd->listen_port);
1695 if (fwd->connect_path != NULL) { 1695 if (fwd->connect_path != NULL) {