diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-19 09:55:38 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-19 09:55:38 +0000 |
commit | 9db32633a6df5c0cce6f54b4884787607ea7bc27 (patch) | |
tree | 3205e7772a5a767cbfbaef0b22be52712907bbaa /packet-sscop.c | |
parent | 120cf19b2ae0bea7e611ce060805cd299cc087d4 (diff) |
Beginnings of Q.2931 support.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1068 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-sscop.c')
-rw-r--r-- | packet-sscop.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-sscop.c b/packet-sscop.c index f494d0e7ce..1bf7990dfe 100644 --- a/packet-sscop.c +++ b/packet-sscop.c @@ -2,7 +2,7 @@ * Routines for SSCOP (Q.2110, Q.SAAL) frame disassembly * Guy Harris <guy@alum.mit.edu> * - * $Id: packet-sscop.c,v 1.2 1999/11/19 09:10:22 guy Exp $ + * $Id: packet-sscop.c,v 1.3 1999/11/19 09:55:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -274,7 +274,16 @@ dissect_sscop(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) pi.len -= (pdu_len + pad_len); if (pi.len < pi.captured_len) pi.captured_len = pi.len; + + /* + * XXX - if more than just Q.2931 uses SSCOP, we need to tell + * SSCOP what dissector to use here. + */ +#if 1 + dissect_q2931(pd, offset, fd, tree); +#else dissect_data(pd, offset, fd, tree); +#endif break; } } |