@ujjwalt pcap_output_filename. It wasn't in the call before because it was the last argument so it could be unspecified and left as undefined.