Imported Upstream version 2.7
[ossec-hids.git] / src / config / remote-config.h
index 65bf8d7..7896830 100755 (executable)
@@ -5,7 +5,7 @@
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation
  */
 
@@ -14,7 +14,7 @@
 
 #define __CLOGREMOTE_H
 
-#define SYSLOG_CONN 1   
+#define SYSLOG_CONN 1
 #define SECURE_CONN 2
 #define UDP_PROTO   6
 #define TCP_PROTO   17
@@ -27,6 +27,7 @@ typedef struct _remoted
     int *proto;
     int *port;
     int *conn;
+    int *ipv6;
 
     char **lip;
        os_ip **allowips;
@@ -34,7 +35,7 @@ typedef struct _remoted
 
     int m_queue;
     int sock;
-    socklen_t peer_size; 
+    socklen_t peer_size;
 }remoted;
 
 #endif