diff options
author | Neale Ranns <nranns@cisco.com> | 2017-04-13 00:44:52 -0700 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-04-13 09:20:30 +0000 |
commit | 2594216a9a3673bbf301f9ae630aaa452a27ce4b (patch) | |
tree | d854094920ed4c1727654baa706ef3ffb003b190 /src/vnet/vxlan | |
parent | 00c14a94c34fac89e6e589c4a7aad20d8dd183dc (diff) |
Remove unsed parameter from fib_table_entry_special_add() (only used in FIB tests). The DPO was incorrectly initialised with FIB_PROTO_MAX
Change-Id: I962df9e162e4dfb6837a5ce79ea795d5ff2d7315
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/vxlan')
-rw-r--r-- | src/vnet/vxlan/vxlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/vxlan/vxlan.c b/src/vnet/vxlan/vxlan.c index 58c7becb5d7..c8a050d9959 100644 --- a/src/vnet/vxlan/vxlan.c +++ b/src/vnet/vxlan/vxlan.c @@ -486,7 +486,7 @@ int vnet_vxlan_add_del_tunnel vtep_addr_ref(&t->src); t->fib_entry_index = fib_table_entry_special_add (t->encap_fib_index, &tun_dst_pfx, FIB_SOURCE_RR, - FIB_ENTRY_FLAG_NONE, ADJ_INDEX_INVALID); + FIB_ENTRY_FLAG_NONE); t->sibling_index = fib_entry_child_add (t->fib_entry_index, FIB_NODE_TYPE_VXLAN_TUNNEL, t - vxm->tunnels); vxlan_tunnel_restack_dpo(t); |