diff options
Diffstat (limited to 'contrib/libpcap/bpf_image.c')
-rw-r--r-- | contrib/libpcap/bpf_image.c | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/contrib/libpcap/bpf_image.c b/contrib/libpcap/bpf_image.c index 3e9a23f51b4c..e6c0f626174b 100644 --- a/contrib/libpcap/bpf_image.c +++ b/contrib/libpcap/bpf_image.c @@ -19,6 +19,11 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/libpcap/bpf_image.c,v 1.28 2008-01-02 04:16:46 guy Exp $ (LBL)"; +#endif + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -211,11 +216,6 @@ bpf_image(p, n) fmt = "x"; break; - case BPF_ALU|BPF_MOD|BPF_X: - op = "mod"; - fmt = "x"; - break; - case BPF_ALU|BPF_AND|BPF_X: op = "and"; fmt = "x"; @@ -226,11 +226,6 @@ bpf_image(p, n) fmt = "x"; break; - case BPF_ALU|BPF_XOR|BPF_X: - op = "xor"; - fmt = "x"; - break; - case BPF_ALU|BPF_LSH|BPF_X: op = "lsh"; fmt = "x"; @@ -261,11 +256,6 @@ bpf_image(p, n) fmt = "#%d"; break; - case BPF_ALU|BPF_MOD|BPF_K: - op = "mod"; - fmt = "#%d"; - break; - case BPF_ALU|BPF_AND|BPF_K: op = "and"; fmt = "#0x%x"; @@ -276,11 +266,6 @@ bpf_image(p, n) fmt = "#0x%x"; break; - case BPF_ALU|BPF_XOR|BPF_K: - op = "xor"; - fmt = "#0x%x"; - break; - case BPF_ALU|BPF_LSH|BPF_K: op = "lsh"; fmt = "#%d"; |