Mayuresh <[email protected]> writes: > # wgconfig wg0 > wgconfig: ioctl(SIOCGDRVSPEC): Invalid argument > > Anyone else faced this? If there is such limit, is it configurable?
I would suggest reading the sources for wgconfig. You'll find that a struct ifdrv is passed to SIOCGDRVSPEC, and that has a pointer/length to an alloocated buffer, and the size is 4096. It is an exercise for the reader to choose a different size, rebuild, and test, and then to propose a design for solving the problem in general :-)
