Logoj0ke.net Open Build Service > Projects > internetx > mod_security > waf-label.patch
Sign Up | Log In

File waf-label.patch of Package mod_security (Revision d87f35de7b7ecca69a11710c4f663b28)

Currently displaying revision d87f35de7b7ecca69a11710c4f663b28, show latest

x
 
1
diff -ruN modsecurity-apache_2.5.12-orig/apache2/msc_logging.c modsecurity-apache_2.5.12/apache2/msc_logging.c
2
--- modsecurity-apache_2.5.12-orig/apache2/msc_logging.c    2010-02-03 18:50:24.000000000 -0500
3
+++ modsecurity-apache_2.5.12/apache2/msc_logging.c 2010-08-04 19:06:58.000000000 -0400
4
@@ -346,14 +346,14 @@
5
 
6
     /* Try to write everything in one go. */
7
     if (msr->txcfg->component_signatures->nelts == 0) {
8
-        text = apr_psprintf(msr->mp, "Producer: %s.\n", MODSEC_MODULE_NAME_FULL);
9
+        text = apr_psprintf(msr->mp, "WAF: %s.\n", MODSEC_MODULE_NAME_FULL);
10
         sec_auditlog_write(msr, text, strlen(text));
11
 
12
         return;
13
     }
14
 
15
     /* Start with the ModSecurity signature. */
16
-    text = apr_psprintf(msr->mp, "Producer: %s", MODSEC_MODULE_NAME_FULL);
17
+    text = apr_psprintf(msr->mp, "WAF: %s", MODSEC_MODULE_NAME_FULL);
18
     sec_auditlog_write(msr, text, strlen(text));
19
 
20
 
21