Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/crypto/external/bsd/openssh/dist Pull up following revisi...



details:   https://anonhg.NetBSD.org/src/rev/34e8fbe4fe49
branches:  netbsd-7
changeset: 798441:34e8fbe4fe49
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 17 16:12:36 2014 +0000

description:
Pull up following revision(s) (requested by christos in ticket #145):
        crypto/external/bsd/openssh/dist/auth.c: revision 1.9
for consistency use options.use_dns when getting the canonical hostname.
[we do the same below for hosts.allow and deny] reported by rudolf.

diffstat:

 crypto/external/bsd/openssh/dist/auth.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 725ad5a9592a -r 34e8fbe4fe49 crypto/external/bsd/openssh/dist/auth.c
--- a/crypto/external/bsd/openssh/dist/auth.c   Fri Oct 17 07:15:34 2014 +0000
+++ b/crypto/external/bsd/openssh/dist/auth.c   Fri Oct 17 16:12:36 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth.c,v 1.8 2013/11/08 19:18:24 christos Exp $        */
+/*     $NetBSD: auth.c,v 1.8.4.1 2014/10/17 16:12:36 martin Exp $      */
 /* $OpenBSD: auth.c,v 1.103 2013/05/19 02:42:42 djm Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: auth.c,v 1.8 2013/11/08 19:18:24 christos Exp $");
+__RCSID("$NetBSD: auth.c,v 1.8.4.1 2014/10/17 16:12:36 martin Exp $");
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/param.h>
@@ -101,7 +101,7 @@
                return 0;
 
 #ifdef HAVE_LOGIN_CAP
-       hostname = get_canonical_hostname(1);
+       hostname = get_canonical_hostname(options.use_dns);
        ipaddr = get_remote_ipaddr();
 
        lc = login_getclass(pw->pw_class);



Home | Main Index | Thread Index | Old Index