This PR changes NetworkInterface::addr to a Vec<Addr>, and ensures that the Linux and Mac implementation merge all entries for one interface into a single NetworkInterface.
This is a breaking change, of course. But it addresses #26 and #30, although the Windows platform still needs to be changed.
I don't know Windows well enough to test it, so the Windows behaviour has been unchanged (but Some(x) is now vec![x]).
This PR changes
NetworkInterface::addr
to aVec<Addr>
, and ensures that the Linux and Mac implementation merge all entries for one interface into a singleNetworkInterface
.This is a breaking change, of course. But it addresses #26 and #30, although the Windows platform still needs to be changed.
I don't know Windows well enough to test it, so the Windows behaviour has been unchanged (but
Some(x)
is nowvec![x]
).