Ignore:
Timestamp:
04/26/07 14:00:46 (6 years ago)
Author:
spa1
Message:

Added a new report type to tracereport which can be used to provide stats as to how much traffic is national / international based on the IP addresses involved. This report does require the user to provide a list of "local" IP ranges.
Replaced the "remove" call in traceflow which should make it run a lot faster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/traceflow/traceflow.cc

    r1196 r1200  
    104104         
    105105        flow->expiry_ts = ts + timeout; 
    106         flow->flow_list->remove(flow); 
     106        flow->flow_list->erase(active_flows[flow->id]); 
    107107        flow->flow_list = lru; 
    108108        lru->push_front(flow); 
Note: See TracChangeset for help on using the changeset viewer.