Bug 50947 - BUG: port eq 25 does not work anymore (port = 25 does)
Summary: BUG: port eq 25 does not work anymore (port = 25 does)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 4.7-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Darern Reed
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-14 16:10 UTC by Rene de Vries
Modified: 2004-07-05 18:02 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.77 KB, patch)
2003-04-14 16:10 UTC, Rene de Vries
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene de Vries 2003-04-14 16:10:11 UTC
	Change the order in which keywords are checked.
	The "isalnum" function also matches "eq", "ne", etc, so these
	are always found to be symbolic port names. When reversed, so
	first check "eq", "ne", etc these compares can still be used.

Fix: Diff against FreeBSD 5 (current as of 1 Apr 2003)
How-To-Repeat: 	block in quick from any to any port eq 25
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2003-04-14 19:26:02 UTC
Responsible Changed
From-To: freebsd-bugs->darrenr

Over to Darren. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50947 

Adding to audit trail, from misfiled PR 50952.

Message-Id: <200304141722.DAA28903@avalon.reed.wattle.id.au>
Date: Tue, 15 Apr 2003 03:22:48 +1000
Comment 2 Darern Reed freebsd_committer freebsd_triage 2004-04-20 13:53:32 UTC
State Changed
From-To: open->feedback

change present in ipfilter, already
Comment 3 Darern Reed freebsd_committer freebsd_triage 2004-07-05 18:01:21 UTC
State Changed
From-To: feedback->closed

patch fixed in -current & RELENG_4