Changeset 821


Ignore:
Timestamp:
05/23/06 15:19:47 (7 years ago)
Author:
perry
Message:

check the test is working correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test-pcap-bpf.c

    r756 r821  
    8585                        break; 
    8686                } 
     87                if (trace_get_source_port(packet)!=80 
     88                 && trace_get_destination_port(packet)!=80) { 
     89                        printf("filter failed!\n"); 
     90                        return 1; 
     91                } 
    8792                if (psize == 0) { 
    8893                        error = 0; 
Note: See TracChangeset for help on using the changeset viewer.