Subject: Re: pppoectl(8) -d won't work
To: None <firstname.lastname@example.org>
From: Holger Weiss <email@example.com>
Date: 08/20/2007 15:24:05
* Martin Husemann <firstname.lastname@example.org> [2007-08-20 08:06 UTC]:
> On Mon, Aug 20, 2007 at 06:26:47AM +0000, Michael van Elst wrote:
> > 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).
> ... and someone borked ioctl compatibility (probably a change to IFNAMSIZ).
I should've mentioned that PPPOEGETSESSION evaluates to 3223349616 on
_both_ sides. That is, replacing the PPPOEGETSESSION macro with the
hardcoded value 3223349616UL within both the ioctl(2) call and
pppoe_ioctl()'s switch case doesn't change anything.