Network scan is not correct. Need to switch to std::map<>