Current time: 11-25-2024, 06:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Fixed] Traffic accounting issues
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #5
RE: Traffic accounting issues
Quote:Now, the regular expression that you use seems to be incorrect, because [dpt,spt] means "any of the characters inside brackets, this is, either d or p or t or s or comma", whereas you probably wanted to use (dpt|spt), that means either "dpt" or "spt". Your tests went right because, as you're not matching from the beggining of the line, any "t:xx " (xx being a number) matches your regex Wink

Am I right?
You are absolutely right, shall I update the patch, or will you?

Cheers
(This post was last modified: 12-11-2009 08:36 PM by aseques.)
12-11-2009 08:36 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Traffic accounting issues - kilburn - 12-10-2009, 04:33 AM
RE: Traffic accounting issues - aseques - 12-10-2009, 07:17 AM
RE: Traffic accounting issues - kilburn - 12-11-2009, 05:16 AM
RE: Traffic accounting issues - aseques - 12-11-2009 08:36 PM
RE: Traffic accounting issues - marchaos - 01-17-2010, 10:20 AM
RE: Traffic accounting issues - aseques - 01-26-2010, 08:09 PM
RE: Traffic accounting issues - aseques - 02-04-2010, 06:47 PM
RE: Traffic accounting issues - aseques - 02-09-2010, 12:38 AM
RE: Traffic accounting issues - aseques - 02-19-2010, 11:39 PM
RE: Traffic accounting issues - RatS - 03-14-2010, 08:08 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)