aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tpkt.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-28 08:06:07 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-28 08:06:07 +0000
commit78343ba4711348531a7052fa8fa9049b51de5275 (patch)
treebbc34a1e3cafcdb9488b3a84be29130661f9997b /packet-tpkt.c
parent2c967b776d03cdc63acfe889548f1180d772e88b (diff)
Handle, in the Q.931 heuristic dissector, the case where TPKT isn't
enabled. Fix comments to explain that a return of -1 from "dissect_tpkt_header()" means "TPKT wasn't enabled". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3200 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-tpkt.c')
-rw-r--r--packet-tpkt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tpkt.c b/packet-tpkt.c
index b25e1154b1..69d0dc9a56 100644
--- a/packet-tpkt.c
+++ b/packet-tpkt.c
@@ -86,8 +86,8 @@ is_tpkt( tvbuff_t *tvb, unsigned int* offset )
* Dissect the TPKT header; called from the TPKT dissector, as well as
* from dissectors such as the dissector for Q.931-over-TCP.
*
- * Returns -1 if we didn't dissect it as a TPKT header, otherwise returns
- * the PDU length from the TPKT header.
+ * Returns -1 if TPKT isn't enabled, otherwise returns the PDU length
+ * from the TPKT header.
*
* Sets "*offset" to the offset following the TPKT header.
*/