Changeset 1326

Show
Ignore:
Timestamp:
10/03/08 13:45:34 (10 months ago)
Author:
spa1
Message:
  • Added missing get_dropped_packets function to format_dag25
  • Removed naming distinction between the two dag_get_dropped_packets function as it is unnecessary and inconsistent - all the other dag functions are named dag_* rather than dag24_* and dag25_*
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/format_dag24.c

    r1319 r1326  
    327327} 
    328328 
    329 static uint64_t dag24_get_dropped_packets(libtrace_t *trace) 
     329static uint64_t dag_get_dropped_packets(libtrace_t *trace) 
    330330{ 
    331331        return DATA(trace)->drops; 
     
    375375        NULL,                           /* get_received_packets */ 
    376376        NULL,                           /* get_filtered_packets */ 
    377         dag24_get_dropped_packets,    /* get_dropped_packets */ 
     377        dag_get_dropped_packets,      /* get_dropped_packets */ 
    378378        NULL,                           /* get_captured_packets */ 
    379379        NULL,                           /* get_fd */ 
  • trunk/lib/format_dag25.c

    r1319 r1326  
    370370} 
    371371 
     372static uint64_t dag_get_dropped_packets(libtrace_t *trace) { 
     373        return DATA(trace)->drops; 
     374} 
    372375 
    373376static void dag_help(void) { 
     
    414417        NULL,                           /* get_received_packets */ 
    415418        NULL,                           /* get_filtered_packets */ 
    416         dag25_get_dropped_packets,    /* get_dropped_packets */ 
     419        dag_get_dropped_packets,      /* get_dropped_packets */ 
    417420        NULL,                           /* get_captured_packets */ 
    418421        NULL,                           /* get_fd */