Missing pcap assignment may cause pcap file/interface to be opened
again, and previous one not closed.
Fixes:
1e38a7c66923 ("pcap: fix storage of name and type in queues")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
struct devargs_queue *queue = &tx_queues->queue[i];
tx->dumper = queue->dumper;
+ tx->pcap = queue->pcap;
snprintf(tx->name, sizeof(tx->name), "%s", queue->name);
snprintf(tx->type, sizeof(tx->type), "%s", queue->type);
}