mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-18 16:37:13 +01:00
fix API compatibility for const Poco::Net::IPAddress& Poco::Net::NetworkInterface::address(unsigned int = 0) const
This commit is contained in:
parent
1e5e050471
commit
6cfbb73e6f
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user