2 * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
5 #pragma ident "%Z%%M% %I% %E% SMI"
8 * refuse() reports a refused connection, and takes the consequences: in
9 * case of a datagram-oriented service, the unread datagram is taken from
10 * the input queue (or inetd would see the same datagram again and again);
11 * the program is terminated.
13 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
17 static char sccsid
[] = "@(#) refuse.c 1.5 94/12/28 17:42:39";
20 /* System libraries. */
29 /* refuse - refuse request */
32 struct request_info
*request
;
34 syslog(deny_severity
, "refused connect from %s", eval_client(request
));