Moving code that convert IP_ADAPTER_ADDRESSES to smartlist into separate function.