diff options
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rawshark.c b/rawshark.c index f3b2bad12d..cad73de744 100644 --- a/rawshark.c +++ b/rawshark.c @@ -1470,7 +1470,7 @@ protocolinfo_init(char *field) rs->filter=field; rs->cmd_line_index = g_cmd_line_index++; - error_string=register_tap_listener("frame", rs, rs->filter, NULL, protocolinfo_packet, NULL); + error_string=register_tap_listener("frame", rs, rs->filter, TL_REQUIRES_PROTO_TREE, NULL, protocolinfo_packet, NULL); if(error_string){ /* error, we failed to attach to the tap. complain and clean up */ fprintf(stderr, "rawshark: Couldn't register field extraction tap: %s\n", |