Properly handle the size field in pflog link header
authorcanacar <canacar@openbsd.org>
Tue, 27 Jul 2010 04:13:34 +0000 (04:13 +0000)
committercanacar <canacar@openbsd.org>
Tue, 27 Jul 2010 04:13:34 +0000 (04:13 +0000)
commit8d8814c2d07b6820ead5819b6c9da9647f0ee2ff
tree57830e3b31c18bddaf1239fb02563f1447711e5b
parenteed0c93ba30716eed2d746d0176081a7b83b5fec
Properly handle the size field in pflog link header
when generating the filter. This will allow the pflog
header to be extended without adding a new link type.

No change to generated code for other link types.

ok henning@
lib/libpcap/gencode.c