diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-04-29 17:56:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-04-29 17:56:49 +0000 |
commit | daeac95d4aca8fc28e30d033b35b0131a680fe4c (patch) | |
tree | fb9d1639e0302ad28fdd4e1feade75d467673c7a /packet-gtp.c | |
parent | 74e3d695fcc195def1c67453f2e62444c398ca6b (diff) |
Don't export "osinl_subdissector_table" or "ppp_subdissector_table" -
have other dissectors that use them fetch them with
"find_dissector_table()".
svn path=/trunk/; revision=7601
Diffstat (limited to 'packet-gtp.c')
-rw-r--r-- | packet-gtp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-gtp.c b/packet-gtp.c index bec0f708ce..532318ac7c 100644 --- a/packet-gtp.c +++ b/packet-gtp.c @@ -4,7 +4,7 @@ * Copyright 2001, Michal Melerowicz <michal.melerowicz@nokia.com> * Nicolas Balkota <balkota@mac.com> * - * $Id: packet-gtp.c,v 1.53 2003/02/07 19:57:19 guy Exp $ + * $Id: packet-gtp.c,v 1.54 2003/04/29 17:56:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -41,6 +41,8 @@ #include "packet-ppp.h" #include "prefs.h" +static dissector_table_t ppp_subdissector_table; + /* * All data related to GTP v0 (GPRS) uses "gtpv0" or "GTPv0", * all data related to GTP v1 (UMTS) uses "gtpv1" or "GTPv1", @@ -5380,6 +5382,8 @@ proto_reg_handoff_gtp(void) gtpv1_handle = find_dissector("gtpv1"); + ppp_subdissector_table = find_dissector_table("ppp.protocol"); + Initialized = TRUE; } else { |