getIpv4InterfaceAddress takes template class parameter