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/interest_hitcs_node.c | |
parent | d0ebc1438a58b108f8d1509356bfabeaf95000fa (diff) | |
parent | e6a120973cca65ca464d1323a6f7f4308dcb4717 (diff) |
Merge "[HICN-547] Removing punting through acl for interests"
Diffstat (limited to 'hicn-plugin/src/interest_hitcs_node.c')
-rw-r--r-- | hicn-plugin/src/interest_hitcs_node.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hicn-plugin/src/interest_hitcs_node.c b/hicn-plugin/src/interest_hitcs_node.c index 14f512897..d10f15afa 100644 --- a/hicn-plugin/src/interest_hitcs_node.c +++ b/hicn-plugin/src/interest_hitcs_node.c @@ -172,9 +172,7 @@ hicn_interest_hitcs_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node, dpo_vft0, &hicn_dpo_id0); stats.cs_expired_count++; /* Forward interest to the strategy node */ - next0 = - isv6 ? HICN_INTEREST_HITCS_NEXT_V6_LOOKUP : - HICN_INTEREST_HITCS_NEXT_V4_LOOKUP; + next0 = HICN_INTEREST_HITCS_NEXT_STRATEGY; } else { @@ -278,10 +276,10 @@ VLIB_REGISTER_NODE(hicn_interest_hitcs_node) = /* edit / add dispositions here */ .next_nodes = { - [HICN_INTEREST_HITCS_NEXT_V4_LOOKUP] = "ip4-lookup", - [HICN_INTEREST_HITCS_NEXT_V6_LOOKUP] = "ip6-lookup", + [HICN_INTEREST_HITCS_NEXT_STRATEGY] = "hicn-strategy", [HICN_INTEREST_HITCS_NEXT_PUSH] = "hicn-data-push", [HICN_INTEREST_HITCS_NEXT_ERROR_DROP] = "error-drop", + [HICN_INTEREST_HITCS_NEXT_EMPTY] = "ip6-lookup" }, }; /* *INDENT-ON* */ |