examples/l3fwd: make route array constant
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 26 Jan 2020 01:09:10 +0000 (17:09 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 16 Feb 2020 20:07:52 +0000 (21:07 +0100)
commit6e228d781ca808933014b2592c10d81b2780ec28
treec477aa67dce76f0dbdf2854e6c0657aa9fa65fec
parent63e5e1f902b7f4d3f40a7bb2823d92f3e1e8ce9c
examples/l3fwd: make route array constant

The initial route setup array is unmodified by the lpm code
and can be made constant. This depends on earlier patch to
fix the rte_lpm6 to use const.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
examples/l3fwd/l3fwd_lpm.c