diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-09-23 00:55:28 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-09-23 00:55:28 +0000 |
commit | 1a7111b6032ce5736d646a033b98d38fc1489742 (patch) | |
tree | e9d026f205906440ff7016239d06ea54f19b9827 /epan/dissectors/packet-ieee8021ah.c | |
parent | c5ebd555b7ea48e3d52900625e84af1e50ef5127 (diff) | |
download | wireshark-1a7111b6032ce5736d646a033b98d38fc1489742.tar.gz wireshark-1a7111b6032ce5736d646a033b98d38fc1489742.tar.bz2 wireshark-1a7111b6032ce5736d646a033b98d38fc1489742.zip |
Minor revision related to proto_reg_handoff ...
svn path=/trunk/; revision=26252
Diffstat (limited to 'epan/dissectors/packet-ieee8021ah.c')
-rw-r--r-- | epan/dissectors/packet-ieee8021ah.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ieee8021ah.c b/epan/dissectors/packet-ieee8021ah.c index ba1f1a690d..3f4cb612d6 100644 --- a/epan/dissectors/packet-ieee8021ah.c +++ b/epan/dissectors/packet-ieee8021ah.c @@ -432,17 +432,15 @@ proto_reg_handoff_ieee8021ah(void) { static gboolean prefs_initialized = FALSE; static dissector_handle_t ieee8021ah_handle; - static dissector_handle_t ieee8021ad_handle; static unsigned int old_ieee8021ah_ethertype; if (!prefs_initialized){ + dissector_handle_t ieee8021ad_handle; ieee8021ah_handle = create_dissector_handle(dissect_ieee8021ah, proto_ieee8021ah); - ieee8021ad_handle = create_dissector_handle(dissect_ieee8021ad, proto_ieee8021ad); dissector_add("ethertype", ETHERTYPE_IEEE_802_1AD, ieee8021ad_handle); - prefs_initialized = TRUE; } else { |