In src/dist/dhcp/common/discover.c:discover(), try changing buf from 2048 to 32768. I suspect that now that each ifreq has a sockaddr_storage that all your interfaces don't fit in 2048. The resize/retry logic is broken, and always has been, but it used to not usually matter because 50 interfaces fit.