diff options
author | Florin Coras <fcoras@cisco.com> | 2017-12-16 08:31:06 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-12-21 20:53:31 +0000 |
commit | 79ae2d306269524b9de662dbbf532a04e11b7634 (patch) | |
tree | 70e6a66d1551e31a2e0354221bb1c0b761b1cbdd /src/vnet/fib/fib_path.c | |
parent | 529a425b04751d0590de2f398a20bd36d0e25308 (diff) |
fib: make deag entries urpf extempt
Change-Id: Ie8f6bb4fcd3e4fa269e86a77d2f21c87f372b783
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/fib/fib_path.c')
-rw-r--r-- | src/vnet/fib/fib_path.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_path.c b/src/vnet/fib/fib_path.c index f7fed26ac9a..fddb8ecdd5a 100644 --- a/src/vnet/fib/fib_path.c +++ b/src/vnet/fib/fib_path.c @@ -1294,6 +1294,11 @@ fib_path_create (fib_node_index_t pl_index, path->fp_type = FIB_PATH_TYPE_BIER_TABLE; path->bier_table.fp_bier_tbl = rpath->frp_bier_tbl; } + else if (rpath->frp_flags & FIB_ROUTE_PATH_DEAG) + { + path->fp_type = FIB_PATH_TYPE_DEAG; + path->deag.fp_tbl_id = rpath->frp_fib_index; + } else if (~0 != rpath->frp_sw_if_index) { if (ip46_address_is_zero(&rpath->frp_addr)) |