Ethereal-dev: Re: [Ethereal-dev] Creating a new Dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Brad Hards <bhards@xxxxxxxxxxxxxx>
Date: Sat, 5 Oct 2002 19:03:06 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 5 Oct 2002 12:03, pevee wrote:
> dear developer...
>
> we are at the last satge of developing the dissector...:)
> one more question:-
>
> (1) The USER_IP is in REVERSE order (shown as 222.250.168.192, in fact is
> 192.168.250.222)!!! How can I deal with it?
It would have helped to see what you are trying to do. A little code fragment
is very useful.

I guess you are reading the IP on a little endian machine (like an Intel box).

Are you reading the IP using tvb_get_ntohl?

Brad
- --
http://conf.linux.org.au. 22-25Jan2003. Perth, Aust. Tickets booked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9nqrKW6pHgIdAuOMRAi4KAJkBmTlbkkEDsL79uECvNrI520opYQCeKCDi
Ft1dBbh3sgS5tAWC+vIFBuY=
=ITWJ
-----END PGP SIGNATURE-----