|
|
@@ -296,9 +296,10 @@ diff -u -u -r1.1.1.1 tli.c
|
|
|
if (SWAP_MODULE(request->fd, "sockmod", "timod") != 0)
|
|
|
tcpd_warn("replace sockmod by timod: %m");
|
|
|
if (request->sink != 0)
|
|
|
---- tcpd.h.orig 2003-01-04 20:15:59.000000000 -0500
|
|
|
-+++ tcpd.h 2004-03-23 12:57:47.000000000 -0500
|
|
|
-@@ -7,6 +7,8 @@
|
|
|
+Index: tcpd.h
|
|
|
+--- tcpd.h.orig 2003-01-05 02:15:59.000000000 +0100
|
|
|
++++ tcpd.h 2005-08-21 17:25:37.751541000 +0200
|
|
|
+@@ -7,12 +7,14 @@
|
|
|
#ifndef TCP_WRAPPERS_HEADER
|
|
|
#define TCP_WRAPPERS_HEADER
|
|
|
|
|
|
@@ -307,6 +308,13 @@ diff -u -u -r1.1.1.1 tli.c
|
|
|
#include <netinet/in.h>
|
|
|
#include <netdb.h>
|
|
|
|
|
|
+ #define TCPD_STRING_LENGTH 256 /* hosts, users, processes */
|
|
|
+
|
|
|
+-#ifdef cplusplus
|
|
|
++#ifdef __cplusplus
|
|
|
+ extern "C" {
|
|
|
+ #endif
|
|
|
+
|
|
|
@@ -70,8 +72,8 @@
|
|
|
#if defined(TLI) || defined(PTX) || defined(TLI_SEQUENT)
|
|
|
void fromhost(struct request_info *); /* get/validate client host info */
|
|
|
@@ -318,3 +326,12 @@ diff -u -u -r1.1.1.1 tli.c
|
|
|
#endif
|
|
|
|
|
|
/*
|
|
|
+@@ -98,7 +100,7 @@
|
|
|
+ RQ_SERVER_ADDR /* server host address */
|
|
|
+ };
|
|
|
+
|
|
|
+-#ifdef cplusplus
|
|
|
++#ifdef __cplusplus
|
|
|
+ }
|
|
|
+ #endif
|
|
|
+
|