ports/security/base/files/patch-includes__base_signature.inc.php
Martin Wilke 821a625c0f - Update to 1.4.5
PR:		145635
Submitted by:	olli hauer <ohauer@gmx.de>
2010-05-09 11:22:35 +00:00

11 lines
443 B
PHP

--- ./includes/base_signature.inc.php.orig 2010-03-05 16:06:18.000000000 +0100
+++ ./includes/base_signature.inc.php 2010-04-11 23:52:13.000000000 +0200
@@ -139,7 +139,7 @@
{
if ($tmp_ref_system_name == "snort")
{
- if (ereg("([0-9]+):([0-9]+)", $ref_tag, $backref))
+ if (preg_match("/([0-9]+):([0-9]+)/", $ref_tag, $backref))
{
if ($backref[1] == "1")
{