Put the optional objects in EXTRA..SOURCES instead of EXTRA_DIST.
[metze/wireshark/wip.git] / tap-protocolinfo.c
index 632949692ee3ca91424228d8ee4ce8696722b04e..588f8fb77597c7ea26ff9e2de3b22dbb5239df87 100644 (file)
@@ -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",