diff options
author | Sake Blok <sake@euronet.nl> | 2010-10-03 22:42:27 +0000 |
---|---|---|
committer | Sake Blok <sake@euronet.nl> | 2010-10-03 22:42:27 +0000 |
commit | 6c97a708c9be0552781bce8528a2980f66b49b20 (patch) | |
tree | a9030a233202caa17b8f14c9616ee22aea7d7924 /capture-wpcap.c | |
parent | 95a48cd20859ff8d32fb33d2e3a9eb57ad4bdb29 (diff) | |
download | wireshark-6c97a708c9be0552781bce8528a2980f66b49b20.tar.gz wireshark-6c97a708c9be0552781bce8528a2980f66b49b20.tar.bz2 wireshark-6c97a708c9be0552781bce8528a2980f66b49b20.zip |
Make "bpf_image" available on Windows. This enables the "Compile BPF" button and "dumpcap -d" on Windows.
svn path=/trunk/; revision=34357
Diffstat (limited to 'capture-wpcap.c')
-rw-r--r-- | capture-wpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture-wpcap.c b/capture-wpcap.c index d081fa657b..9da61f9ab4 100644 --- a/capture-wpcap.c +++ b/capture-wpcap.c @@ -341,7 +341,7 @@ pcap_open_dead(int a, int b) #endif #ifdef HAVE_BPF_IMAGE -static char * +char * bpf_image(const struct bpf_insn *a, int b) { if (!has_wpcap) { |