Fix network discovery