Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ascend.c packet-l2tp.c packet-null.c
guy 2001/03/30 00:10:56 CST
Modified files:
. packet-ascend.c packet-l2tp.c
packet-null.c packet-ppp.c packet-pppoe.c
packet-raw.c
Log:
Call the dissector for PPP-in-HDLC-like-framing (RFC 1662) the
"ppp_hdlc" dissector, and call the dissector for "raw" PPP (just RFC
1661, no HDLC encapsulation) the "ppp" dissector.
Have the common routine used by both those dissectors take the offset in
the tvbuff of the PPP protocol field as an argument, rather than
assuming that the protocol field begins at the beginning of the tvbuff,
so we don't have to construct a new tvbuff in the
PPP-in-HDLC-like-framing dissector.
Use the PPP dissector, not the PPP-in-HDLC-like-framing dissector, for
PPP over Frame Relay - there's no HDLC header in PPP over Frame Relay,
at least according to
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t1/pppframe.htm
Revision Changes Path
1.25 +5 -5 ethereal/packet-ascend.c
1.22 +5 -5 ethereal/packet-l2tp.c
1.42 +5 -5 ethereal/packet-null.c
1.59 +19 -26 ethereal/packet-ppp.c
1.17 +5 -5 ethereal/packet-pppoe.c
1.25 +7 -7 ethereal/packet-raw.c