-
Harald Sitter authored
Summary: previously we simply used the ip address. this is fairly awkward though. instead try to deduce a resolvable host name from the pretty name. at discovery time we now mark wsdiscovieres for special handling at listDir time we then attempt to resolve the name.local and if that fails strip the .local to get the presumed LLMNR/netbios name. this means the (first) listDir may be slower while we try to find a working hostname but discovery is still as fast as possible. Test Plan: wsdd on linux server resolves as expected, wsd on win10 also resolves as expected Reviewers: ngraham, meven Reviewed By: ngraham, meven Subscribers: kossebau, kde-frameworks-devel, kfm-devel Tags: #dolphin, #frameworks Differential Revision: https://phabricator.kde.org/D28513
daec307b