a potential infinite loop in netifaces.gateways() from Pamela Mosiejczuk completed with Kurt Mosiejczuk