Skip to content

[BUG] list_networks returns incomplete Network Information #362

@djmuhlestein

Description

@djmuhlestein

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-surfacePublic API design, re-exports, and semver-relevant changesbugSomething isn't workingnmrsChanges to nmrs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions