Ignore:
Timestamp:
01/15/09 14:27:32 (4 years ago)
Author:
perry
Message:

Try and probe for interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/format_bpf.c

    r1401 r1403  
    6969 
    7070#define BPFHDR(x) ((struct bpf_hdr *)((x)->header)) 
     71 
     72static int bpf_probe_filename(const char *filename) 
     73{ 
     74        return (if_nametoindex(filename) != 0); 
     75} 
    7176 
    7277static int bpf_start_filename(const char *filename) 
Note: See TracChangeset for help on using the changeset viewer.