Wireshark-bugs: [Wireshark-bugs] [Bug 594] use port names instead of port numbers in filter expr
Date: Thu, 25 Feb 2010 04:05:24 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=594

Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4325|                            |review_for_checkin?
               Flag|                            |

--- Comment #7 from Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> 2010-02-25 04:05:21 PST ---
Created an attachment (id=4325)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4325)
Read system service file once.

I optimize serv_name_lookup() to don't call getservbyport, (on my machine it
open /etc/services file, read whole content, and close it)
[setservent(1) didn't help]

Instead I put initialization of system services database in
initialize_services()

Now it works great :)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.