summaryrefslogtreecommitdiff
path: root/security/base/files/patch-base_qry_sqlcalls.php
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-05-09 11:22:35 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-05-09 11:22:35 +0000
commit821a625c0f1e984b303a3d9280ed040c701b3a34 (patch)
treebe704d414f53f2dbd0f7083a361bf7107085c437 /security/base/files/patch-base_qry_sqlcalls.php
parent- Update to 1.9.2 (diff)
- Update to 1.4.5
PR: 145635 Submitted by: olli hauer <ohauer@gmx.de>
Diffstat (limited to 'security/base/files/patch-base_qry_sqlcalls.php')
-rw-r--r--security/base/files/patch-base_qry_sqlcalls.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/base/files/patch-base_qry_sqlcalls.php b/security/base/files/patch-base_qry_sqlcalls.php
new file mode 100644
index 000000000000..92623d38aab7
--- /dev/null
+++ b/security/base/files/patch-base_qry_sqlcalls.php
@@ -0,0 +1,14 @@
+--- ./base_qry_sqlcalls.php.orig 2010-03-05 16:06:17.000000000 +0100
++++ ./base_qry_sqlcalls.php 2010-04-11 23:52:13.000000000 +0200
+@@ -259,9 +259,9 @@
+ $line = split (" ", $current_sig_txt);
+ foreach ($line as $ps_element)
+ {
+- if ( ereg("[0-9]*\.[0-9]*\.[0-9]*\.[0-9]", $ps_element) )
++ if ( preg_match("/[0-9]*\.[0-9]*\.[0-9]*\.[0-9]/", $ps_element) )
+ {
+- $ps_element = ereg_replace (":", "", $ps_element);
++ $ps_element = preg_replace ("/:/", "", $ps_element);
+ qroPrintEntry("<A HREF=\"base_stat_ipaddr.php?ip=".$ps_element."&amp;netmask=32\">".
+ $ps_element."</A>");
+ }