diff options
author | Luca Muscariello <muscariello@ieee.org> | 2020-03-23 06:43:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2020-03-23 06:43:34 +0000 |
commit | e0db9608e092c5b1381f1bc8df68ef17f9f7ec87 (patch) | |
tree | a8345430e8773e21567b9a18b4eeb48ae9a7cb71 /hicn-plugin/src/mapme_ack_node.c | |
parent | d0ebc1438a58b108f8d1509356bfabeaf95000fa (diff) | |
parent | e6a120973cca65ca464d1323a6f7f4308dcb4717 (diff) |
Merge "[HICN-547] Removing punting through acl for interests"
Diffstat (limited to 'hicn-plugin/src/mapme_ack_node.c')
-rw-r--r-- | hicn-plugin/src/mapme_ack_node.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/hicn-plugin/src/mapme_ack_node.c b/hicn-plugin/src/mapme_ack_node.c index ebb12a124..557fb0ad7 100644 --- a/hicn-plugin/src/mapme_ack_node.c +++ b/hicn-plugin/src/mapme_ack_node.c @@ -79,9 +79,8 @@ hicn_mapme_process_ack (vlib_main_t * vm, vlib_buffer_t * b, /* We are only expecting ACKs for hICN DPOs */ ASSERT (dpo_is_hicn (dpo)); - const hicn_dpo_vft_t *dpo_vft = hicn_dpo_get_vft (dpo->dpoi_type); hicn_mapme_tfib_t *tfib = - TFIB (dpo_vft->hicn_dpo_get_ctx (dpo->dpoi_index)); + TFIB (hicn_strategy_dpo_ctx_get (dpo->dpoi_index)); if (tfib == NULL) { @@ -107,11 +106,12 @@ hicn_mapme_process_ack (vlib_main_t * vm, vlib_buffer_t * b, * Is the ingress face in TFIB ? if so, remove it, otherwise it might be a * duplicate */ - retx_t *retx = - vlib_process_signal_event_data (vm, - hicn_mapme_eventmgr_process_node.index, - HICN_MAPME_EVENT_FACE_PH_DEL, 1, - sizeof (retx_t)); + retx_t *retx = vlib_process_signal_event_data (vm, + hicn_mapme_eventmgr_process_node. + index, + HICN_MAPME_EVENT_FACE_PH_DEL, + 1, + sizeof (retx_t)); *retx = (retx_t) { .prefix = prefix,.dpo = *dpo}; |