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

Changeset 4455


Ignore:
Timestamp:
Sep 22, 2009, 6:39:04 PM (8 years ago)
Author:
stud-lenk
Message:

Add information about multicast peers to output of routingtable (show rtable).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ntlp/branches/20090723-multicast/src/routingentry.cpp

    r4427 r4455  
    6868  os << " Valid:" << rs_validity_time << "ms "
    6969     << " MA Hold:" << ma_hold_time << "ms ";
     70
     71  if (is_multicast_QNode()) {
     72    os << " multicast peers:" << multicast_peer.size();
     73    hash_map<uint32, multicast_peerstatus>::const_iterator mcast_peer_it;
     74    for (mcast_peer_it = multicast_peer.begin(); mcast_peer_it != multicast_peer.end(); mcast_peer_it++) {
     75      os << std::endl << "  Multicast peer with SII " << mcast_peer_it->first
     76                      << ": " << mcast_peer_it->second.response_miss_allow_count << " missing responses allowed";
     77    }
     78  }
    7079
    7180  return os.str();
Note: See TracChangeset for help on using the changeset viewer.