CVS log entries from 06.06.2005 (Mon) 09:07:05 - 07.06.2005 (Tue) 09:07:02 GMT
=====================================================
Summary by authors
=====================================================
Author: hannes
        File: libpcap/gencode.c; Revisions: 1.248, 1.221.2.22

=====================================================
Combined list of identical log entries
=====================================================
Description:
bugreport from Paolo Lucente <[EMAIL PROTECTED]>:

the mpls stack processing is broken:
for example "mpls 10000 && mpls 20000" does produce

reading from file ppp.pcap, link-type PPP (PPP)
(000) ldh      [2]
(001) jeq      #0x00000281      jt 2    jf 11
(002) ld       [4]
(003) and      #0xfffff000
(004) jeq      #0x02710000      jt 5    jf 11
(005) ldh      [6]
(006) jeq      #0x00000281      jt 7    jf 11
(007) ld       [8]
(008) and      #0xfffff000
(009) jeq      #0x04e20000      jt 10   jf 11
(010) ret      #1514
(011) ret      #0

the extra match for 0x281 at instruction #6 is broken and
a copy&paste artifact from the vlan code generator, which
in contrast does require the VLAN tag 0x8100 at every instance
inside a VLAN stack;

correct code should be:

(000) ldh      [2]
(001) jeq      #0x281           jt 2    jf 9
(002) ld       [4]
(003) and      #0xfffff000
(004) jeq      #0x2710000       jt 5    jf 9
(005) ld       [8]
(006) and      #0xfffff000
(007) jeq      #0x4e20000       jt 8    jf 9
(008) ret      #1514
(009) ret      #0
Modified files:
        File: libpcap/gencode.c; Revision: 1.248;
        Date: 2005/06/06 14:10:58; Author: hannes; Lines: (+1 -3)
        File: libpcap/gencode.c; Revision: 1.221.2.22;
        Date: 2005/06/06 14:14:01; Author: hannes; Lines: (+1 -3)
=====================================================
Log entries
=====================================================
=====================================================
Summary of modified files
=====================================================
File: libpcap/gencode.c
Revisions: 1.248, 1.221.2.22
Authors: hannes (+1 -3), hannes (+1 -3)
-- 
Automatic cron job from /tcpdump/bin/makelog
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to