summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-04-03 17:47:40 +0200
committerDamien Miller <djm@mindrot.org>2019-04-03 17:47:40 +0200
commit885bc114692046d55e2a170b932bdc0092fa3456 (patch)
treee2ef15934af05aca008237e4a8dbb614dfbb791e /session.c
parentupstream: when logging/fataling on error, include a bit more detail (diff)
downloadopenssh-885bc114692046d55e2a170b932bdc0092fa3456.tar.xz
openssh-885bc114692046d55e2a170b932bdc0092fa3456.zip
session: Do not use removed API
from Jakub Jelen
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index 48cfaafbf..ac06b08e9 100644
--- a/session.c
+++ b/session.c
@@ -2620,7 +2620,7 @@ session_setup_x11fwd(struct ssh *ssh, Session *s)
he = gethostbyname(hostname);
if (he == NULL) {
error("Can't get IP address for X11 DISPLAY.");
- packet_send_debug("Can't get IP address for X11 DISPLAY.");
+ ssh_packet_send_debug(ssh, "Can't get IP address for X11 DISPLAY.");
return 0;
}
memcpy(&my_addr, he->h_addr_list[0], sizeof(struct in_addr));