diff options
author | Mauro Sardara <msardara@cisco.com> | 2023-01-20 10:22:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2023-01-20 10:22:54 +0000 |
commit | 6e41f3a43bccd768a4a633706f9028114ab58b83 (patch) | |
tree | 7ce07435cfc34c79aadf4dbd68a0c3b4b6319a61 /hicn-plugin/src/faces/app/face_prod.c | |
parent | 30082b9a4180dce68da04f67fb5bbb34fa2ba842 (diff) | |
parent | 00b070cfbb3164df823653c7e1d32b7851cf0ee0 (diff) |
Merge "fix: correctly set next node for ifaces and faces"
Diffstat (limited to 'hicn-plugin/src/faces/app/face_prod.c')
-rw-r--r-- | hicn-plugin/src/faces/app/face_prod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hicn-plugin/src/faces/app/face_prod.c b/hicn-plugin/src/faces/app/face_prod.c index 54fbd418a..4b7a5a2f6 100644 --- a/hicn-plugin/src/faces/app/face_prod.c +++ b/hicn-plugin/src/faces/app/face_prod.c @@ -263,7 +263,7 @@ hicn_face_prod_add (fib_prefix_t *prefix, u32 sw_if, u32 *cs_reserved, } u32 fib_index = fib_table_find (prefix->fp_proto, 0); - fib_table_entry_path_add2 (fib_index, prefix, FIB_SOURCE_CLI, + fib_table_entry_path_add2 (fib_index, prefix, FIB_SOURCE_API, FIB_ENTRY_FLAG_NONE, rpaths); HICN_DEBUG ("Calling hicn enable for producer face"); @@ -322,7 +322,7 @@ hicn_face_prod_del (hicn_face_id_t face_id) } /* Also remove it from main fib, as we sre the owners of this prefix */ u32 fib_index = fib_table_find (prefix->fp_proto, 0); - fib_table_entry_special_remove (fib_index, prefix, FIB_SOURCE_CLI); + fib_table_entry_special_remove (fib_index, prefix, FIB_SOURCE_API); ret = hicn_app_state_del (face->sw_if); if (ret) { |