1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/comms/qpage/files/libwrap_ident_patch-srvrsnpp.c
Mark Felder b3909d5c4d comms/qpage: Resurrect port
- New MASTER_SITE
- New MAINTAINER
- Change to USES=tar:Z
- Regenerate patches

PR:		206321
2016-03-14 14:39:15 +00:00

17 lines
433 B
C

--- srvrsnpp.c.orig 2008-10-20 10:30:57.539127452 -0400
+++ srvrsnpp.c 2008-10-20 10:35:43.096529509 -0400
@@ -1066,7 +1066,12 @@
fromhost(&request);
- ptr = eval_user(&request);
+ /*
+ ** If we aren't doing an ident request, don't ask
+ ** TCP Wrappers to do it either
+ */
+ if (IdentTimeout) ptr = eval_user(&request);
+ else ptr = NULL;
if (ptr && strcmp(ptr, STRING_UNKNOWN) != 0)
p->ident = strdup(ptr);