examples/ip_pipeline: fix pcap file parsing
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 1 Apr 2016 09:55:30 +0000 (10:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 1 Apr 2016 21:08:25 +0000 (23:08 +0200)
commitb804f8fd1f7841d9c64f81748091fc1d8d4dc1d6
tree6962705e3fb4ec8f40824fe4ca486688e748fb73
parent063e6273b7604f8b568bc179eefffa7521a90d3f
examples/ip_pipeline: fix pcap file parsing

This patch fixes the pcap file parsing in ip_pipeline. Originally, the
parser recognizes the pcap related entries regardless of the RTE_PORT_PCAP
macro definition status.

Fixes: fe5d04621303 ("examples/ip_pipeline: add pcap file dump")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/config_parse.c