]> The Tcpdump Group git mirrors - libpcap/commit
fix Linux build errors after commit fb20696
authorDenis Ovsienko <[email protected]>
Sat, 13 Feb 2016 19:28:36 +0000 (19:28 +0000)
committerDenis Ovsienko <[email protected]>
Sat, 13 Feb 2016 19:30:46 +0000 (19:30 +0000)
commit3f0a659b745be29d7fa034270e56ca2f7fa625fe
tree2efec6c9128842deecd34d5e94b34d5952026ff5
parent1429988c68ed7f1a2a05f1bf448107ad9ffc33be
fix Linux build errors after commit fb20696

Travis CI build was OK but on my Ubuntu 14.04 PC it would fail:

./gencode.c: In function ‘gen_vlan_bpf_extensions’:
./gencode.c:7902:22: error: ‘cstate’ undeclared (first use in this function)
         s = new_stmt(cstate, BPF_LD|BPF_B|BPF_ABS);
                      ^
./gencode.c:7902:22: note: each undeclared identifier is reported only once for each function it appears in
./gencode.c: In function ‘gen_vlan’:
./gencode.c:8015:7: error: ‘off_outermostlinkhdr’ undeclared (first use in this function)
       off_outermostlinkhdr.constant_part) {
       ^
make: *** [gencode.o] Error 1
gencode.c