fix API compatibility for const Poco::Net::IPAddress& Poco::Net::NetworkInterface::address(unsigned int = 0) const

This commit is contained in:
Marian Krivos 2012-08-27 12:54:49 +00:00
Родитель 1e5e050471
Коммит 6cfbb73e6f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -153,7 +153,7 @@ public:
const IPAddress& firstAddress(IPAddress::Family family) const; const IPAddress& firstAddress(IPAddress::Family family) const;
/// Returns the first IP address bound to the interface. /// Returns the first IP address bound to the interface.
const IPAddress& address(unsigned index) const; const IPAddress& address(unsigned index = 0) const;
/// Returns the IP address bound to the interface at index position. /// Returns the IP address bound to the interface at index position.
void addAddress(const IPAddress& address); void addAddress(const IPAddress& address);