Source-Changes-HG archive

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

[src/trunk]: src/crypto/external/bsd/openssh/dist for consistency use options...



details:   https://anonhg.NetBSD.org/src/rev/2874df653c01
branches:  trunk
changeset: 333015:2874df653c01
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 14 16:15:18 2014 +0000

description:
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 22e877f39647 -r 2874df653c01 crypto/external/bsd/openssh/dist/auth.c
--- a/crypto/external/bsd/openssh/dist/auth.c   Tue Oct 14 15:29:43 2014 +0000
+++ b/crypto/external/bsd/openssh/dist/auth.c   Tue Oct 14 16:15:18 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.9 2014/10/14 16:15:18 christos 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.9 2014/10/14 16:15:18 christos 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