The default gateway entry is empty. It happens because the cycle iterating through returned socket addresses makes the assumption that they all have the same length, and uses... cp += sizeof( struct sockaddr ); ...to move to each next entry. Reproducible: Always
Created attachment 71749 [details] Fix to the issue. The attached patch replaces the incriminated code with the SA_SIZE() macro, which calculates the correct size of given sockaddr structure (be it a sockaddr_in or sockaddr_in6).
SVN commit 1299929 by jstamp: Fix default gateway detection on FreeBSD Thanks to Alberto Villa for the patch. M +1 -1 utils.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1299929
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug.