Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] RADIUS / turned IP@ in summary line

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

Date: Mon, 25 Jul 2005 16:32:36 +0200
On my big endian the 32 bits extracting the IP address into an 32bit
integer with tvb_get_ntohl() was OK as it did not swap the bytes,
running on a little endian the bytes got swapped (duh!).

I've attached a patch to fix this. I'll check it in as I'm home if
noone does before.

L

On 7/25/05, Biewald, Manuel <Manuel.Biewald@xxxxxxxxxxx> wrote:
> Hi Folks,
> 
> I have discovered two turned IP@ in the Attribute Value Pairs, see below.
> 
>         AVP: l=6  t=NAS-IP-Address(4): 43.174.254.193
>             Length: 4
>             NAS-IP-Address: 193.254.174.43 (193.254.174.43)
>         AVP: l=6  t=Framed-IP-Address(8): 73.205.113.10
>             Length: 4
>             Framed-IP-Address: 10.113.205.73 (10.113.205.73)
> 
> The correct addresses are 193.254.174.43 and 10.113.205.73
> 
> Seen in Buildbot 0.10.11-SVN-14964.
> 
> Cheers,
> Manuel
> 
> 
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
> 


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

Attachment: packet-radius.c.patch
Description: Binary data