diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-11-19 09:55:38 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-11-19 09:55:38 +0000 |
commit | 8963fabad69eff429d951368a4c2fe4ed09cdef1 (patch) | |
tree | 3205e7772a5a767cbfbaef0b22be52712907bbaa /packet-sscop.c | |
parent | a8dfc56400350815e203666d81316da4f1f2392b (diff) | |
download | wireshark-8963fabad69eff429d951368a4c2fe4ed09cdef1.tar.gz wireshark-8963fabad69eff429d951368a4c2fe4ed09cdef1.tar.bz2 wireshark-8963fabad69eff429d951368a4c2fe4ed09cdef1.zip |
Beginnings of Q.2931 support.
svn path=/trunk/; revision=1068
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; } } |