remove dependency on netifaces