diff options
author | shin <shin@FreeBSD.org> | 2000-02-28 04:07:10 +0800 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-02-28 04:07:10 +0800 |
commit | a96989a8dcaa9ada3735229f60e38aaa591b132f (patch) | |
tree | 88675c517c433ee84b0c2146943a373fa2bbf3ff /security/openssh | |
parent | 05935329df6fa9a665144a2c4e8a2bc54edd6022 (diff) | |
download | freebsd-ports-gnome-a96989a8dcaa9ada3735229f60e38aaa591b132f.tar.gz freebsd-ports-gnome-a96989a8dcaa9ada3735229f60e38aaa591b132f.tar.zst freebsd-ports-gnome-a96989a8dcaa9ada3735229f60e38aaa591b132f.zip |
Woops fix my previous incorrect patch.
For green's honor, the patch I sent him for review was correct.
But because it is one line fix, I hand merged it into my
cvs committing environment, and then mistake happend.
This time, I applied correct fix which should have been aplied
at last commit.
Diffstat (limited to 'security/openssh')
-rw-r--r-- | security/openssh/files/patch-ak | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/security/openssh/files/patch-ak b/security/openssh/files/patch-ak index 079515e6e7e7..a0b31bf4ad20 100644 --- a/security/openssh/files/patch-ak +++ b/security/openssh/files/patch-ak @@ -1,5 +1,5 @@ ---- ssh.c.orig Sat Feb 19 02:39:02 2000 -+++ ssh.c Sat Feb 19 23:47:33 2000 +--- ssh.c.orig Sat Feb 19 23:57:54 2000 ++++ ssh.c Mon Feb 28 04:49:22 2000 @@ -131,6 +131,9 @@ log("Using rsh. WARNING: Connection will not be encrypted."); /* Build argument list for rsh. */ @@ -10,12 +10,12 @@ args[i++] = _PATH_RSH; /* host may have to come after user on some systems */ args[i++] = host; -@@ -490,7 +493,7 @@ +@@ -489,7 +492,7 @@ + struct addrinfo *ai = NULL; int errgai; memset(&hints, 0, sizeof(hints)); - hints.ai_family = AF_UNSPEC; -- hints.ai_flags = AI_CANONNAME; -+ hints.ai_flags = IPv4or6; +- hints.ai_family = AF_UNSPEC; ++ hints.ai_family = IPv4or6; + hints.ai_flags = AI_CANONNAME; hints.ai_socktype = SOCK_STREAM; errgai = getaddrinfo(host, NULL, &hints, &ai); - if (errgai == 0) { |