Changeset 6839 for source/ariba


Ignore:
Timestamp:
Nov 5, 2009, 11:51:43 AM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/addressing/ip_address.hpp

    r6837 r6839  
    108108        /// convert address to a string that can be used to reconstruct the address
    109109        std::string to_string() const {
    110                 if (addr.is_v6() && addr.to_v6().is_v4_compatible())
     110                if (addr.is_v6() && (addr.to_v6().is_v4_compatible()
     111                        || addr.to_v6().is_v4_mapped()))
    111112                        return addr.to_v4().to_string();
    112113                return addr.to_string();
Note: See TracChangeset for help on using the changeset viewer.