diff options
Diffstat (limited to 'epan/dissectors/packet-atm.c')
-rw-r--r-- | epan/dissectors/packet-atm.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/epan/dissectors/packet-atm.c b/epan/dissectors/packet-atm.c index 57420f6c29..7634a7586b 100644 --- a/epan/dissectors/packet-atm.c +++ b/epan/dissectors/packet-atm.c @@ -145,7 +145,7 @@ static dissector_handle_t fr_handle; static dissector_handle_t llc_handle; static dissector_handle_t sscop_handle; static dissector_handle_t ppp_handle; -static dissector_handle_t eth_handle; +static dissector_handle_t eth_maybefcs_handle; static dissector_handle_t ip_handle; static dissector_handle_t data_handle; @@ -992,12 +992,9 @@ dissect_reassembled_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, * See RFC 2684 section 6.2 "VC Multiplexing of Bridged * Protocols". */ - struct eth_phdr eth; - proto_tree_add_item(tree, hf_atm_padding, tvb, 0, 2, ENC_NA); next_tvb = tvb_new_subset_remaining(tvb, 2); - eth.fcs_len = -1; /* We don't know whether there's an FCS */ - call_dissector_with_data(eth_handle, next_tvb, pinfo, tree, ð); + call_dissector(eth_maybefcs_handle, next_tvb, pinfo, tree); decoded = TRUE; } else if (octet[2] == 0x03 && /* NLPID */ @@ -2018,7 +2015,7 @@ proto_reg_handoff_atm(void) llc_handle = find_dissector("llc"); sscop_handle = find_dissector("sscop"); ppp_handle = find_dissector("ppp"); - eth_handle = find_dissector("eth"); + eth_maybefcs_handle = find_dissector("eth_maybefcs"); ip_handle = find_dissector("ip"); data_handle = find_dissector("data"); |