diff options
Diffstat (limited to 'mux.c')
-rw-r--r-- | mux.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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.49 2014/12/22 07:24:11 djm 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 | * |
@@ -1689,7 +1689,8 @@ mux_client_forward(int fd, int cancel_flag, u_int ftype, struct Forward *fwd) | |||
1689 | buffer_put_cstring(&m, fwd->listen_path); | 1689 | buffer_put_cstring(&m, fwd->listen_path); |
1690 | } else { | 1690 | } else { |
1691 | buffer_put_cstring(&m, | 1691 | buffer_put_cstring(&m, |
1692 | fwd->listen_host == NULL ? "" : fwd->listen_host); | 1692 | fwd->listen_host == NULL ? "" : |
1693 | (*fwd->listen_host == '\0' ? "*" : fwd->listen_host)); | ||
1693 | } | 1694 | } |
1694 | buffer_put_int(&m, fwd->listen_port); | 1695 | buffer_put_int(&m, fwd->listen_port); |
1695 | if (fwd->connect_path != NULL) { | 1696 | if (fwd->connect_path != NULL) { |