mmastrac / getifaddrs

A small Rust library to get IP addresses for interfaces in a cross-platform manner
0 stars 2 forks source link

`Interface` lacks the destination address information #1

Closed xmh0511 closed 2 months ago

xmh0511 commented 2 months ago
pub struct Interface {
    pub name: String,
    pub address: IpAddr,
    pub netmask: Option<IpAddr>,
    pub flags: InterfaceFlags,
    pub index: Option<u32>,
   /* pub dest: Option<IpAddr>*/
}
mmastrac commented 2 months ago

Fixed in 0.1.3