diff options
| author | Mark Felder <feld@FreeBSD.org> | 2016-03-14 14:39:15 +0000 |
|---|---|---|
| committer | Mark Felder <feld@FreeBSD.org> | 2016-03-14 14:39:15 +0000 |
| commit | b3909d5c4d2434aafcf77495a66d999ec8199e0a (patch) | |
| tree | b4e85c88fb0efc7236b0a2b892d17f55af03030f /comms/qpage/files/libwrap_ident_patch-srvrsnpp.c | |
| parent | Fix runtime error. (diff) | |
comms/qpage: Resurrect port
- New MASTER_SITE
- New MAINTAINER
- Change to USES=tar:Z
- Regenerate patches
PR: 206321
Diffstat (limited to 'comms/qpage/files/libwrap_ident_patch-srvrsnpp.c')
| -rw-r--r-- | comms/qpage/files/libwrap_ident_patch-srvrsnpp.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/comms/qpage/files/libwrap_ident_patch-srvrsnpp.c b/comms/qpage/files/libwrap_ident_patch-srvrsnpp.c new file mode 100644 index 000000000000..8cd51a09b2f7 --- /dev/null +++ b/comms/qpage/files/libwrap_ident_patch-srvrsnpp.c @@ -0,0 +1,16 @@ +--- 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); |
