examples/load_balancer: fix Tx flush
authorAndriy Berestovskyy <andriy.berestovskyy@caviumnetworks.com>
Thu, 27 Apr 2017 09:27:54 +0000 (11:27 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 May 2017 16:18:29 +0000 (18:18 +0200)
commit509f35d4c48434ec5a4a8b60342bf633eea69062
tree3fa1138cd8be5325e9974ae14b9e02a1bc8ccc15
parent4175729d012914e1c10e5f54e5a59169be020124
examples/load_balancer: fix Tx flush

Port ID is not an index from 0 to n_nic_ports, but rather a value
of nic_ports array.

Fixes: af75078fece3 ("first public release")

Signed-off-by: Andriy Berestovskyy <andriy.berestovskyy@caviumnetworks.com>
examples/load_balancer/runtime.c