rib: constify arguments
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 25 Jun 2020 20:32:06 +0000 (13:32 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Jul 2020 21:22:05 +0000 (23:22 +0200)
The getter functions should take a constant pointer
to make it clear that node is not modified.

The rib create functions do not modify their config structure.
Mark the config as constant so that programs can pass
simple constant data.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

No differences found