Subject: pppd doesn't handle LCP echo-response; fixed
To: None <cgd@alpha.bostic.com>
From: Gordon W. Ross <gwr@jericho.mc.com>
List: current-users
Date: 11/02/1994 10:50:06
> X-Notice: Do not redistribute in any form without prior explicit
> consent of the author.
> Date: Tue, 01 Nov 1994 12:02:27 -0500
> From: "Chris G. Demetriou" <cgd@alpha.bostic.com>
> Sender: owner-current-users@netbsd.org
> Precedence: list
>
> > Probably it should use 4 instead of sizeof(u_long), in fact.
>
> sizeof(u_int32_t) rather than 4, even... 8-)
>
> so what if the latter two are guaranteed (by definition) to be the
> same thing... 8-)
Unless your compiler/CPU does this:
sizeof(char) == 1
sizeof(short) == 1
sizeof(long) == 1
because the smallest addressable unit is 32-bits.
(The ADI 21060 DSP chip has this "feature" )-:
This is just to inform you of this interesting bit of trivia,
not to say how the ppp code should be written.
Gordon