aboutsummaryrefslogtreecommitdiffstats
path: root/tap-protocolinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap-protocolinfo.c')
-rw-r--r--tap-protocolinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-protocolinfo.c b/tap-protocolinfo.c
index 632949692e..588f8fb775 100644
--- a/tap-protocolinfo.c
+++ b/tap-protocolinfo.c
@@ -123,7 +123,7 @@ protocolinfo_init(const char *optarg, void* userdata _U_)
rs->filter=NULL;
}
- 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, "tshark: Couldn't register proto,colinfo tap: %s\n",