[openssh-commits] [openssh] branch master updated: upstream: fix swapping of source and destination addresses in some sshd
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Aug 17 18:18:10 AEST 2024
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 17142726 upstream: fix swapping of source and destination addresses in some sshd
17142726 is described below
commit 171427261d2079941eb1041079dbae875da37cbc
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Sat Aug 17 08:09:50 2024 +0000
upstream: fix swapping of source and destination addresses in some sshd
log messages
OpenBSD-Commit-ID: 24d4cbb86325275df1f037545aa3b91456e52d25
---
sshd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sshd.c b/sshd.c
index ed54fc6d..7cce5ad3 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.609 2024/06/27 23:01:15 djm Exp $ */
+/* $OpenBSD: sshd.c,v 1.610 2024/08/17 08:09:50 djm Exp $ */
/*
* Copyright (c) 2000, 2001, 2002 Markus Friedl. All rights reserved.
* Copyright (c) 2002 Niels Provos. All rights reserved.
@@ -262,7 +262,7 @@ child_register(int pipefd, int sockfd)
} else {
laddr = get_local_ipaddr(sockfd);
raddr = get_peer_ipaddr(sockfd);
- xasprintf(&child->id, "connection from %s to %s", laddr, raddr);
+ xasprintf(&child->id, "connection from %s to %s", raddr, laddr);
}
free(laddr);
free(raddr);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list