summaryrefslogtreecommitdiff
path: root/canohost.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-18 15:32:44 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-18 15:32:44 +0000
commit121c7852fe956182d4d2ad70c4ab7bb477d55334 (patch)
treed8d6929d7e89f19396d2dba8fb5e963e8f5a528e /canohost.c
parent005dd22c97239f8814319daff6a41469158bd495 (diff)
- markus@cvs.openbsd.org 2001/04/18 14:15:00
[canohost.c] debug->debug3
Diffstat (limited to 'canohost.c')
-rw-r--r--canohost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/canohost.c b/canohost.c
index 823545d4c..5d345eb27 100644
--- a/canohost.c
+++ b/canohost.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: canohost.c,v 1.25 2001/04/12 19:15:24 markus Exp $"); 15RCSID("$OpenBSD: canohost.c,v 1.26 2001/04/18 14:15:00 markus Exp $");
16 16
17#include "packet.h" 17#include "packet.h"
18#include "xmalloc.h" 18#include "xmalloc.h"
@@ -71,7 +71,7 @@ get_remote_hostname(int socket, int reverse_mapping_check)
71 NULL, 0, NI_NUMERICHOST) != 0) 71 NULL, 0, NI_NUMERICHOST) != 0)
72 fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed"); 72 fatal("get_remote_hostname: getnameinfo NI_NUMERICHOST failed");
73 73
74 debug("Trying to reverse map address %.100s.", ntop); 74 debug3("Trying to reverse map address %.100s.", ntop);
75 /* Map the IP address to a host name. */ 75 /* Map the IP address to a host name. */
76 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), 76 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
77 NULL, 0, NI_NAMEREQD) != 0) { 77 NULL, 0, NI_NAMEREQD) != 0) {