diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-11-29 09:47:04 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-11-29 09:47:04 +0100 |
commit | 97b89435aad77bd6d9e18747b55d701e360d5aac (patch) | |
tree | b2ed4f1de99fe0a69ec96e37624a5750d3cd504e /runtime/nsd_ptcp.h | |
parent | 48799529955eff8eb3120b02a356a92a8bd9b2ae (diff) | |
download | rsyslog-97b89435aad77bd6d9e18747b55d701e360d5aac.tar.gz rsyslog-97b89435aad77bd6d9e18747b55d701e360d5aac.tar.xz rsyslog-97b89435aad77bd6d9e18747b55d701e360d5aac.zip |
bugfix: $AllowedSender handled invalidly for plain TCP transport
Diffstat (limited to 'runtime/nsd_ptcp.h')
-rw-r--r-- | runtime/nsd_ptcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/nsd_ptcp.h b/runtime/nsd_ptcp.h index efd3ed05..b94cc018 100644 --- a/runtime/nsd_ptcp.h +++ b/runtime/nsd_ptcp.h @@ -24,6 +24,8 @@ #ifndef INCLUDED_NSD_PTCP_H #define INCLUDED_NSD_PTCP_H +#include <sys/socket.h> + #include "nsd.h" typedef nsd_if_t nsd_ptcp_if_t; /* we just *implement* this interface */ @@ -32,6 +34,7 @@ struct nsd_ptcp_s { BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */ uchar *pRemHostIP; /**< IP address of remote peer (currently used in server mode, only) */ uchar *pRemHostName; /**< host name of remote peer (currently used in server mode, only) */ + struct sockaddr_storage remAddr; /**< remote addr as sockaddr - used for legacy ACL code */ int sock; /**< the socket we use for regular, single-socket, operations */ }; |