Subject: Re: pppoectl(8) -d won't work
To: None <tech-net@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: tech-net
Date: 08/20/2007 06:26:47
lists@jhweiss.de (Holger Weiss) writes:

>[...]  PPPOEGETSESSION evaluates to 3223349616.  However, I
>added some debug output to sys/net/if_pppoe.c and for some reason,
>pppoe_ioctl() receives 3230689648 via its "cmd" argument.

That's both PPPOEGETSESSION, once with a 32 byte argument, once
with a 144 byte argument. Clearly kernel and userland are out
of sync regarding sizeof(struct pppoeconnectionstate).

-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."