Module Name: src Committed By: christos Date: Tue Oct 14 16:15:18 UTC 2014
Modified Files: src/crypto/external/bsd/openssh/dist: auth.c Log Message: for consistency use options.use_dns when getting the canonical hostname. [we do the same below for hosts.allow and deny] reported by rudolf. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/crypto/external/bsd/openssh/dist/auth.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/external/bsd/openssh/dist/auth.c diff -u src/crypto/external/bsd/openssh/dist/auth.c:1.8 src/crypto/external/bsd/openssh/dist/auth.c:1.9 --- src/crypto/external/bsd/openssh/dist/auth.c:1.8 Fri Nov 8 14:18:24 2013 +++ src/crypto/external/bsd/openssh/dist/auth.c Tue Oct 14 12:15:18 2014 @@ -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 @@ allowed_user(struct passwd * pw) 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);