examples/ip_pipeline: enable promiscuous mode configuration
authorJasvinder Singh <jasvinder.singh@intel.com>
Mon, 7 Sep 2015 12:57:42 +0000 (13:57 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 01:35:56 +0000 (02:35 +0100)
commit6cec95a597b53eba8a1fdec9e22280573635dd8b
tree10a8c97acb47942e016b52e262f88e8364d198cf
parent2a61c6ec7fe47f14c7c4a44a682df6f5829af8b0
examples/ip_pipeline: enable promiscuous mode configuration

This patch allows parser to read promisc entry from
the LINK section defined in configuration file. It
is an optional parameter: if present, value should
be read (yes/no, on/off), else the value is the
default value (i.e. 1 = promiscuous mode on)

Example of config file:
[LINK0]
promisc = no; optional parameter, default value is “yes”

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/config_parse.c