diff options
Diffstat (limited to 'epan/dissectors/packet-nbns.c')
-rw-r--r-- | epan/dissectors/packet-nbns.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/dissectors/packet-nbns.c b/epan/dissectors/packet-nbns.c index ce849582ab..d2b0b0f03d 100644 --- a/epan/dissectors/packet-nbns.c +++ b/epan/dissectors/packet-nbns.c @@ -1108,15 +1108,15 @@ static dissector_handle_t data_handle; static void dissect_netbios_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - heur_dtbl_entry_t *hdtbl_entry; - - /* - * Try the heuristic dissectors for NetBIOS; if none of them - * accept the packet, dissect it as data. - */ - if (!dissector_try_heuristic(netbios_heur_subdissector_list, - tvb, pinfo, tree, &hdtbl_entry, NULL)) - call_dissector(data_handle,tvb, pinfo, tree); + heur_dtbl_entry_t *hdtbl_entry; + + /* + * Try the heuristic dissectors for NetBIOS; if none of them + * accept the packet, dissect it as data. + */ + if (!dissector_try_heuristic(netbios_heur_subdissector_list, + tvb, pinfo, tree, &hdtbl_entry, NULL)) + call_dissector(data_handle,tvb, pinfo, tree); } /* NetBIOS datagram packet, from RFC 1002, page 32 */ |