Closed gdt closed 1 year ago
Agreed, I am looking into improving this for the next release.
By the way, there is already RNS.vendor.get_platform()
, which returns the platform name. We need the methods like is_android()
and is_darwin()
as reliable proxies for determining the system though, since possible future changes to the returned platform names might break any assumptions that an interface, user app, or something else had made. It's easier to fix it one place, in that case.
lo0 is not ignored on NetBSD but should be.
A larger issue is that it would be nice to have two structural changes in the default ignore list:
is_darwin()
etc. and variables per os, have aosname()
method and a dictionary by os, so that it's easier to add support for new systems.(But, it looks like on normal systems that mostly the odd interfaces that should be ignored don't have fe80, and aren't used anyway.)