Ethereal-dev: Re: [Ethereal-dev] a small packet-icmpv6.c fix

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: Thu, 10 Jan 2002 08:41:12 +0200 (EET)
On Wed, 9 Jan 2002, Guy Harris wrote:

> > -	    4, "Lifetime: %d", pntohs(&map->nd_opt_map_lifetime));
> > +	    4, "Lifetime: %d", pntohl(&map->nd_opt_map_lifetime));
>
> Is the lifetime a signed, or unsigned, quantity?  Unsigned quantities
> should be displayed with "%u", not "%d".

Uh, it's unsigned so please change it to %u

Btw, the HMIPv6 headers will change in the next version. I'll submit
a new patch when the draft is out...

Martti

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