ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] Re: HMIPv6 Lifetime issue on Linux i386

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

From: Martti Kuparinen <martti.kuparinen@xxxxxx>
Date: Mon, 22 Oct 2001 10:17:10 +0300 (EEST)
On Mon, 22 Oct 2001, Greg Daley wrote:

> 	In the header file this is being shown as a uint32 (as defined in
> 	the HMIP6 draft)  but in the packet-icmpv6.c file, it is being treated
> 	as a short by using pntohs.
>
> 	On my 32 bit platform this is a 16 bit integer (albeit unsigned).
> 	would it be appropriate to change the pntohs to a pntohl?

Yes, it should be pntohl...

Martti

---
Martti Kuparinen <martti.kuparinen@xxxxxx>      NetBSD - No media hype
http://www.iki.fi/~kuparine/                    http://www.netbsd.org/