Wireshark-bugs: [Wireshark-bugs] [Bug 2527] Numeric IP addresses not interpreted correctly
Date: Wed, 7 May 2008 23:18:21 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2527





--- Comment #2 from Rich Painter <painter@xxxxxxxxxxxxxxxxxxxxxx>  2008-05-07 23:18:19 GMT ---
These functions [inet_aton() and inet_addr()] are STANDARD. They are universal.
They are portable. They have been in existence for more than 25 years! Frankly,
I'm astonished that networking tools such as Wireshark and Ethereal didn't have
these in them from the very first day.

A google search on "inet_aton" garners over 276,000 hits and will give you an
idea of how widespread this is. It ought to be for being around this long.

inet_addr() was the original function and does the same thing as inet_aton().
inet_aton() is the preferred function to use today.

Ironically, linux, which has this function and uses it in many places, has many
ports where it degraded or devolved in the GUI and script processing of the
/etc/hosts file. UNIX had universally used various script and GUI processing of
/etc/hosts where inet_addr() was used. Hence, one could rightly use such
addresses as 10.3 in the hosts file. linux, like wireshark, somehow missed the
boat on this important and extremely useful networking support function.


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