summaryrefslogtreecommitdiff
path: root/games/hunt/huntd/answer.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-03-22 00:29:16 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-03-22 00:29:16 +0000
commit278a66c97d5a4e5090c5b0865ca3ce05c67a022a (patch)
treed6c2b787c26b4b792e268a96f74805d82039ecd7 /games/hunt/huntd/answer.c
parentfbb9c9bb18b9be9353d3232df9f3af78e7240d16 (diff)
More accurate man page; more informative logging; use random() instead of
old internal routine (seems to minimize instant death on re-entry).
Diffstat (limited to 'games/hunt/huntd/answer.c')
-rw-r--r--games/hunt/huntd/answer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hunt/huntd/answer.c b/games/hunt/huntd/answer.c
index f45b16d8c47..aed1e6ce5da 100644
--- a/games/hunt/huntd/answer.c
+++ b/games/hunt/huntd/answer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: answer.c,v 1.5 1999/03/14 02:07:30 pjanzen Exp $ */
+/* $OpenBSD: answer.c,v 1.6 1999/03/22 00:29:15 pjanzen Exp $ */
/* $NetBSD: answer.c,v 1.3 1997/10/10 16:32:50 lukem Exp $ */
/*
* Hunt
@@ -57,8 +57,8 @@ answer_first()
request_init(&ri, RQ_DAEMON, "huntd", RQ_FILE, newsock, 0);
fromhost(&ri);
if (hosts_access(&ri) == 0) {
+ logx(LOG_INFO, "rejected connection from %s", eval_client(&ri));
close(newsock);
- logx(LOG_INFO, "rejected connection");
return;
}