pydhcplib
pydhcplib copied to clipboard
wrong structure size for SIOCGIFCONF
getInterfaceList in pydhcplib/interface.py:89 uses a size of 32 for sizeof(struct ifreq) which is for my system 40 (as defined in linux/if.h).
more such hardcoded offsets and sizes exists in the module, maybe it would be good to move to a more reliable aproach like cython?