summaryrefslogtreecommitdiffstats
path: root/security/ossec-hids-local/files/patch-src_client-agent_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/ossec-hids-local/files/patch-src_client-agent_config.c')
-rw-r--r--security/ossec-hids-local/files/patch-src_client-agent_config.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/ossec-hids-local/files/patch-src_client-agent_config.c b/security/ossec-hids-local/files/patch-src_client-agent_config.c
new file mode 100644
index 0000000..74765c6
--- /dev/null
+++ b/security/ossec-hids-local/files/patch-src_client-agent_config.c
@@ -0,0 +1,12 @@
+--- src/client-agent/config.c.orig 2020-02-14 19:46:22 UTC
++++ src/client-agent/config.c
+@@ -17,8 +17,8 @@
+ time_t available_server;
+ int run_foreground;
+ keystore keys;
+-agent *agt;
+
++extern agent *agt;
+
+ /* Read the config file (for the remote client) */
+ int ClientConf(const char *cfgfile)