This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

In previous Lua code we would do the following

    --
    -- This is not a COMEX message. Get the default dissector and invoke it.
    --

local default_dissector = Dissector.get( "eth" )

default_dissector:call( tvb , pinfo , tree )

We would call the ethernet dissector if we chose to not analyze this.

This work with 2.0.x versions of Wireshark

Now we are getting an error with 2.2.0

What are we doing wrong ?

asked 16 Oct '16, 21:30

Randy%20Rohrbach's gravatar image

Randy Rohrbach
21225
accept rate: 0%

edited 16 Oct '16, 22:20

Jaap's gravatar image

Jaap ♦
11.7k16101


The name has been changed:

  register_dissector("eth_withoutfcs", dissect_eth_withoutfcs, proto_eth);

  register_dissector("eth_withfcs", dissect_eth_withfcs, proto_eth);

  register_dissector("eth_maybefcs", dissect_eth_maybefcs, proto_eth);

You probably want "eth_withoutfcs"

permanent link

answered 17 Oct '16, 01:33

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×87

question asked: 16 Oct '16, 21:30

question was seen: 1,500 times

last updated: 17 Oct '16, 01:33

p​o​w​e​r​e​d by O​S​Q​A