/* we are only interested in reply packets */
- if(ri->request){
+ if(ri->request || !rp){
return 0;
}
}
already_enabled=1;
- error_string=register_tap_listener("rpc", NULL, NULL, NULL, rpcprogs_packet, rpcprogs_draw);
+ error_string=register_tap_listener("rpc", NULL, NULL, 0, NULL, rpcprogs_packet, rpcprogs_draw);
if(error_string){
fprintf(stderr,"tshark: Couldn't register rpc,programs tap: %s\n",
error_string->str);