summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_path.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-14 09:21:02 -0700
committerDamjan Marion <dmarion@me.com>2019-03-22 17:30:58 +0000
commit3e2e1907d485ed321f99350dd46e6822db6ac4d4 (patch)
tree044c4fb0540d21d915b53a70e971ff6c51f34ca5 /src/vnet/fib/fib_path.c
parent4759683744d079f868a6bcca8084eba8466620d7 (diff)
ADJ: more thorough link up check
Change-Id: I04dbfb914706b25fcc3bd6ee0d19cfdc810234ae Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/fib/fib_path.c')
-rw-r--r--src/vnet/fib/fib_path.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/fib/fib_path.c b/src/vnet/fib/fib_path.c
index d4a701d417c..55013a992e3 100644
--- a/src/vnet/fib/fib_path.c
+++ b/src/vnet/fib/fib_path.c
@@ -686,8 +686,8 @@ fib_path_attached_next_hop_set (fib_path_t *path)
FIB_NODE_TYPE_PATH,
fib_path_get_index(path));
- if (!vnet_sw_interface_is_admin_up(vnet_get_main(),
- path->attached_next_hop.fp_interface) ||
+ if (!vnet_sw_interface_is_up(vnet_get_main(),
+ path->attached_next_hop.fp_interface) ||
!adj_is_up(path->fp_dpo.dpoi_index))
{
path->fp_oper_flags &= ~FIB_PATH_OPER_FLAG_RESOLVED;
@@ -1083,7 +1083,7 @@ FIXME comment
uword if_is_up;
adj_index_t ai;
- if_is_up = vnet_sw_interface_is_admin_up(
+ if_is_up = vnet_sw_interface_is_up(
vnet_get_main(),
path->attached_next_hop.fp_interface);
@@ -1886,8 +1886,8 @@ fib_path_resolve (fib_node_index_t path_index)
/*
* path->attached.fp_interface
*/
- if (!vnet_sw_interface_is_admin_up(vnet_get_main(),
- path->attached.fp_interface))
+ if (!vnet_sw_interface_is_up(vnet_get_main(),
+ path->attached.fp_interface))
{
path->fp_oper_flags &= ~FIB_PATH_OPER_FLAG_RESOLVED;
}