examples/ip_pipeline: fix size of allocated memory
authorMarcin Kerlin <marcinx.kerlin@intel.com>
Fri, 8 Apr 2016 13:32:24 +0000 (15:32 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 8 Apr 2016 20:28:39 +0000 (22:28 +0200)
commit662c54e668a39d58575c9a5197d1d1b78325f0f2
tree6d75bf54d07e3b3db320e11058be636d7a1bbc96
parentc0f81e902005ef4938ce6d7735a2a597f74f1ce8
examples/ip_pipeline: fix size of allocated memory

CID 120150:
Wrong size of the allocated memory. Passing argument as size of pointer
(8UL) instead of size of structure app_pipeline_firewall_rule.

Fixes: 67ebdbef0c31 ("examples/ip_pipeline: add bulk update of firewall rules")

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
examples/ip_pipeline/pipeline/pipeline_firewall.c