Agree. I will change this code and also the  `netinfo` API which uses this method.