Ask Your Question
0

Error while creating a Lua listener in 2.4.2 with filter

asked 2017-11-07 16:49:33 +0000

TomLaBaude gravatar image

This code worked in 2.0.1rc0:

wlan_good = Listener.new(nil, "wlan.fcs_good == 1")

In 2.4.2, I now have the error:

tshark: Lua: Error during loading: [string "retries.lua"]:5: Error while registering tap: Filter "wlan.fcsgood == 1" is invalid - Neither "wlan.fcsgood" nor "1" are field or protocol names.

Did the filter syntax change?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-11-07 17:08:25 +0000

TomLaBaude gravatar image

Actually it's the display filter wlan.fcs_good which has been removed.

It works with "wlan.fcs.status == 1"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-11-07 16:49:33 +0000

Seen: 32 times

Last updated: Nov 07