fib: Add some path-list flags to its key 56/20956/1
authorNeale Ranns <nranns@cisco.com>
Mon, 29 Jul 2019 12:45:27 +0000 (12:45 +0000)
committerNeale Ranns <nranns@cisco.com>
Wed, 31 Jul 2019 10:08:50 +0000 (10:08 +0000)
commit5672495dc096f165714c5ce3a321059c35b545f1
tree0cf1ec4869c193f35eeedf2992921f3a44a38844
parentd95a226047437af47e046feb93ceba9204a37940
fib: Add some path-list flags to its key

Type: fix
Ticket: 1729

The flags that are permanently set on a path-list should form part of
its key in the path-list DB. Otherwise, if shared, they will not behave
as expected.

Change-Id: I0aa7c7c5d270c97b08014e4a47ddbdcee2358706
Signed-off-by: Neale Ranns <nranns@cisco.com>
(cherry picked from commit 80d1ef96f92c15f4fd357af9845a0a3c602c2ffe)
src/vnet/fib/fib_path_list.c
src/vnet/fib/fib_path_list.h