opnsense-ports/security/base/files/patch-includes__base_signature.inc.php
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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")
{