CernVM-FS
2.12.0
|
Functions | |
bool | GetFirstAddress (const ResolvConfEventHandler::AddressList &address_list, int address_type, std::string *address) |
This file is part of the CernVM File System.
bool anonymous_namespace{resolv_conf_event_handler.cc}::GetFirstAddress | ( | const ResolvConfEventHandler::AddressList & | address_list, |
int | address_type, | ||
std::string * | address | ||
) |
Get the first address of type address_type from the list of addresses
address_list | List of IP addresses |
address_type | Type of IP address desired; Can be either 4 or 6 |
address | (out) The first address found |
Definition at line 23 of file resolv_conf_event_handler.cc.
Referenced by ResolvConfEventHandler::SetDnsAddress().