bugfix with network finding
Merge pull request #680 from inc0/hotfix-wronghostname

bugfix with network finding