NetworkManager::list_networks does not properly fill out all attributes of the Networks that are returned.
Here is the debug output from one of the networks returned that I am currently connected to:
Network {
device: "",
ssid: "kessel-run",
bssid: Some(
"62:7F:F0:29:F2:3F",
),
strength: Some(
59,
),
frequency: Some(
5200,
),
secured: true,
is_psk: true,
is_eap: false,
is_hotspot: false,
ip4_address: None,
ip6_address: None,
}
Notice the ip4_address is None even though I currently have an ip address on that network.
What should happen?:
ip4_address should be: String("xxx.xxx.xxx.xxx") when connected
NetworkManager::list_networks does not properly fill out all attributes of the Networks that are returned.
Here is the debug output from one of the networks returned that I am currently connected to:
Notice the ip4_address is None even though I currently have an ip address on that network.
What should happen?:
ip4_address should be: String("xxx.xxx.xxx.xxx") when connected