NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4188


Ignore:
Timestamp:
Aug 1, 2009, 9:46:32 PM (8 years ago)
Author:
bless
Message:
  • put debugging output for address selection correctly, using DLog() instead of cout
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ntlp/branches/20081127-merge-mobility-mk3/src/ntlp_statemodule_api.cpp

    r4147 r4188  
    523523        uint32_t pref = IPV6_PREFER_SRC_COA;
    524524        hostaddress *laddr = param.addresses.get_src_addr(dst, &pref);
    525         cout << "SELECTING ADDRESS: " << src << ", " << *laddr << param.addresses.addr_is(*laddr, AddressList::HAAddr_P) << param.addresses.addr_is(src, AddressList::HAAddr_P) << endl;
     525        DLog(param.name,"Selecting Address: " << src << ", " << *laddr << param.addresses.addr_is(*laddr, AddressList::HAAddr_P) << param.addresses.addr_is(src, AddressList::HAAddr_P));
    526526        if (param.addresses.addr_is(*laddr, AddressList::HAAddr_P))
    527527          laddr = param.addresses.get_first(AddressList::AltHAAddr_P, src.is_ipv4());
    528         cout << *laddr << endl;
     528        //cout << *laddr << endl;
    529529        r_entry->set_local_src(*laddr);
    530530      }
Note: See TracChangeset for help on using the changeset viewer.