diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-03-28 08:06:07 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-03-28 08:06:07 +0000 |
commit | e8775b6c3401b322899ea39cc7fb7fecf8fdf834 (patch) | |
tree | bbc34a1e3cafcdb9488b3a84be29130661f9997b /packet-tpkt.h | |
parent | c00e9c43dc7cc3bcd2e5dc83390909f81a572551 (diff) | |
download | wireshark-e8775b6c3401b322899ea39cc7fb7fecf8fdf834.tar.gz wireshark-e8775b6c3401b322899ea39cc7fb7fecf8fdf834.tar.bz2 wireshark-e8775b6c3401b322899ea39cc7fb7fecf8fdf834.zip |
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".
svn path=/trunk/; revision=3200
Diffstat (limited to 'packet-tpkt.h')
-rw-r--r-- | packet-tpkt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tpkt.h b/packet-tpkt.h index fa0e0cf551..bee7cecd33 100644 --- a/packet-tpkt.h +++ b/packet-tpkt.h @@ -35,8 +35,8 @@ gboolean 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. */ |