Closed mrtnlrsn closed 1 year ago
When one network adapter has multiple ipv4 addresses, the previous implementation returned the same broadcast address for all IPs. This is fixed by correctly looking up the broadcast address in the prefix list.
Tested on 3 different Win 10 Home/Pro PCs.
Fixes #46
Hi @mrtnlrsn! Thanks so much for opening this PR! Could you please run cargo clippy --fix so we can merge this PR?
cargo clippy --fix
When one network adapter has multiple ipv4 addresses, the previous implementation returned the same broadcast address for all IPs. This is fixed by correctly looking up the broadcast address in the prefix list.
Tested on 3 different Win 10 Home/Pro PCs.
Fixes #46