Wireshark-dev: Re: [Wireshark-dev] [Patch] native little endian ipv4 decoding function for the
From: "Luis Ontanon" <[email protected]>
Date: Fri, 13 Apr 2007 00:45:43 +0200
Committed revision 21397.


On 4/12/07, Balint Reczey (IJ/ETH) <[email protected]> wrote:
Hi Luis,
Thanks, it works perfectly.
I would like to handle the rare situation of Little Endian encoded
IP addresses, so i added a function which reads the address with
tvb_get_ipv4(), then swaps the bytes before SET_ADDRESS().
Could you commit it, too?
Regards,
Balint


> From: "Luis Ontanon" <[email protected]>
> Date: Wed, 11 Apr 2007 21:27:48 +0200
>
> Well I replaced tvb_get_ntohs() with tvb_get_ipv4().
>
> Balint:
>  Can you test the changes to tvbrange:get_ipv4() in your code and
> verify that this works for you as well.
>
> The revision is:
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21385

_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev




--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan