On Sun, Feb 11, 2001 at 04:33:25PM +0200, Sami Farin wrote:
> hi. there's a little bug (or two) in optimize.c.
Try applying the attached patch, which includes a fix from itojun that's
now checked into the libpcap CVS tree.
Index: gencode.c
===================================================================
RCS file: /tcpdump/master/libpcap/gencode.c,v
retrieving revision 1.140.2.1
retrieving revision 1.140.2.2
diff -c -r1.140.2.1 -r1.140.2.2
*** gencode.c 2001/01/14 06:48:35 1.140.2.1
--- gencode.c 2001/02/12 10:33:57 1.140.2.2
***************
*** 2410,2415 ****
--- 2410,2417 ----
tmp = gen_host6(&sin6->sin6_addr,
&mask128, tproto6, dir);
break;
+ default:
+ continue;
}
if (b)
gen_or(b, tmp);