X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=blobdiff_plain;f=plugins%2Fdocsis%2Fpacket-regack.c;h=62c4b68c2fa6343eaf4e4a0acf34d42c9966e4ae;hp=0f93cf9967eb91e998b031e1803f1a2b66f9f987;hb=f53596396116d9cfb0f062c7c7704b36674483f0;hpb=79b8b138846a5e862ab0bac706dd7595c7e9fef4 diff --git a/plugins/docsis/packet-regack.c b/plugins/docsis/packet-regack.c index 0f93cf9967..62c4b68c2f 100644 --- a/plugins/docsis/packet-regack.c +++ b/plugins/docsis/packet-regack.c @@ -27,14 +27,6 @@ # include "config.h" #endif -#include "moduleinfo.h" - -#include -#include -#include - -#include - #include /* Initialize the protocol and registered fields */ @@ -56,7 +48,7 @@ dissect_regack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) { proto_item *it; - proto_tree *regack_tree; + proto_tree *regack_tree = NULL; guint16 sid; guint8 response; tvbuff_t *next_tvb; @@ -82,10 +74,10 @@ dissect_regack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) proto_tree_add_item (regack_tree, hf_docsis_regack_response, tvb, 2, 1, FALSE); - /* Call Dissector for Appendix C TLV's */ - next_tvb = tvb_new_subset_remaining (tvb, 3); - call_dissector (docsis_tlv_handle, next_tvb, pinfo, regack_tree); } + /* Call Dissector for Appendix C TLV's */ + next_tvb = tvb_new_subset_remaining (tvb, 3); + call_dissector (docsis_tlv_handle, next_tvb, pinfo, regack_tree); }