summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-12-11 03:24:25 +0000
committerDamien Miller <djm@mindrot.org>2015-12-18 14:50:10 +1100
commita4b9e0f4e4a6980a0eb8072f76ea611cab5b77e7 (patch)
tree7397fdf323565afa9a832b389334359eeccdf9e7 /packet.h
parent6091c362e89079397e68744ae30df121b0a72c07 (diff)
upstream commit
include remote port number in a few more messages; makes tying log messages together into a session a bit easier; bz#2503 ok dtucker@ Upstream-ID: 9300dc354015f7a7368d94a8ff4a4266a69d237e
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index 7b06544e8..bc2e2ba2e 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.66 2015/01/30 01:13:33 djm Exp $ */ 1/* $OpenBSD: packet.h,v 1.67 2015/12/11 03:24:25 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -143,6 +143,7 @@ int ssh_packet_get_state(struct ssh *, struct sshbuf *);
143int ssh_packet_set_state(struct ssh *, struct sshbuf *); 143int ssh_packet_set_state(struct ssh *, struct sshbuf *);
144 144
145const char *ssh_remote_ipaddr(struct ssh *); 145const char *ssh_remote_ipaddr(struct ssh *);
146int ssh_remote_port(struct ssh *);
146 147
147int ssh_packet_need_rekeying(struct ssh *); 148int ssh_packet_need_rekeying(struct ssh *);
148void ssh_packet_set_rekey_limits(struct ssh *, u_int32_t, time_t); 149void ssh_packet_set_rekey_limits(struct ssh *, u_int32_t, time_t);