Changeset 6837 for source/ariba/utility/addressing
- Timestamp:
- Nov 5, 2009, 11:05:18 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/addressing/ip_address.hpp
r5406 r6837 30 30 31 31 ip_address(const ip_address& copy) : addr(copy.addr) { 32 33 32 } 34 33 … … 109 108 /// convert address to a string that can be used to reconstruct the address 110 109 std::string to_string() const { 110 if (addr.is_v6() && addr.to_v6().is_v4_compatible()) 111 return addr.to_v4().to_string(); 111 112 return addr.to_string(); 112 113 }
Note:
See TracChangeset
for help on using the changeset viewer.