OpenBSD/src srSpIyC — sys/net bpf.c
When using "tcpdump proto 128" the filter never matched. A sign expansion bug in bpf prevented protocols above 127. m_data is signed, bpf_mbuf_ldb() returns unsigned. bug report Matthias Pitzl; OK deraadt@ millert@
Version | Delta | File | |
---|---|---|---|
1.163 | +4 | -2 | sys/net/bpf.c |
+4 | -2 | 1 files |