diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2018-09-24 23:38:37 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-09-25 11:59:37 +0000 |
commit | fe4e48f617f3e0f62880adebdcfb5989aa4e6db7 (patch) | |
tree | b5d0778bc798a9119760992f878ff2e3666ea1ee /src/vnet/bier/bier_disp_dispatch_node.c | |
parent | 608f95cddc4e1e78b4d3ac3b2c3f1ae86f1fa632 (diff) |
BIER; bi-dir to/from underlay
set and check a special RX interface value as the packet enters and
exits a BIER domain
Change-Id: I5ff2f0e2d1b3ce0f3598b935f518fc11eb0896ee
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet/bier/bier_disp_dispatch_node.c')
-rw-r--r-- | src/vnet/bier/bier_disp_dispatch_node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/bier/bier_disp_dispatch_node.c b/src/vnet/bier/bier_disp_dispatch_node.c index 40d0a293658..0dbcada78ed 100644 --- a/src/vnet/bier/bier_disp_dispatch_node.c +++ b/src/vnet/bier/bier_disp_dispatch_node.c @@ -72,6 +72,7 @@ bier_disp_dispatch_inline (vlib_main_t * vm, bdei0 = vnet_buffer(b0)->ip.adj_index[VLIB_TX]; hdr0 = vlib_buffer_get_current(b0); bde0 = bier_disp_entry_get(bdei0); + vnet_buffer(b0)->ip.adj_index[VLIB_RX] = BIER_RX_ITF; /* * header is in network order - flip it, we are about to |