summaryrefslogtreecommitdiffstats
path: root/runtime/nsd_ptcp.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-12-04 12:59:37 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2008-12-04 12:59:37 +0100
commite02b553e1fdca5a655a58d03066cfbc4ab41bc85 (patch)
tree271518077688e126db7267935983e1ab216474d5 /runtime/nsd_ptcp.h
parentc5bfd2b24ca8c490401a0835ec741c05acf0ed3e (diff)
parenta453c7d858779736621c336bc1973bbaf6d6d87a (diff)
downloadrsyslog-e02b553e1fdca5a655a58d03066cfbc4ab41bc85.tar.gz
rsyslog-e02b553e1fdca5a655a58d03066cfbc4ab41bc85.tar.bz2
rsyslog-e02b553e1fdca5a655a58d03066cfbc4ab41bc85.zip
Merge branch 'beta'
Conflicts: ChangeLog configure.ac doc/manual.html doc/rsyslog_conf.html plugins/imudp/imudp.c runtime/rsyslog.h
Diffstat (limited to 'runtime/nsd_ptcp.h')
-rw-r--r--runtime/nsd_ptcp.h3
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 */
};