Fix bug 529 (logged values in hex after using Ipv6Address::Print).
authorSebastien Vincent <vincent@clarinet.u-strasbg.fr>
Mon Apr 06 11:12:42 2009 +0200 (11 months ago)
changeset 4311abf229efd655
parent 4310 e120085037ad
child 4312 a20c4300f959
Fix bug 529 (logged values in hex after using Ipv6Address::Print).
src/node/ipv6-address.cc
     1.1 --- a/src/node/ipv6-address.cc	Sat Apr 04 13:48:13 2009 -0700
     1.2 +++ b/src/node/ipv6-address.cc	Mon Apr 06 11:12:42 2009 +0200
     1.3 @@ -338,7 +338,8 @@
     1.4      << std::hex << std::setw(2) << std::setfill('0') << (unsigned int) m_address[12]
     1.5      << std::hex << std::setw(2) << std::setfill('0') << (unsigned int) m_address[13] << ":"
     1.6      << std::hex << std::setw(2) << std::setfill('0') << (unsigned int) m_address[14]
     1.7 -    << std::hex << std::setw(2) << std::setfill('0') << (unsigned int) m_address[15];
     1.8 +    << std::hex << std::setw(2) << std::setfill('0') << (unsigned int) m_address[15] 
     1.9 +    << std::dec << std::setfill(' ');
    1.10  }
    1.11  
    1.12  bool Ipv6Address::IsLocalhost () const