diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-06-01 16:26:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-01 16:26:56 -0400 |
| commit | 8a31e38fefcd660bf297bc314baf490c6f77e7c0 (patch) | |
| tree | b1a6968cc4f0aa509740147a026c1eb6c95dd6f7 /isisd/isis_cli.c | |
| parent | 06e4c62631c10b94708f7332244e7a591ebc0df3 (diff) | |
| parent | a80618f27d2601b65168d97863878e2d35354c0e (diff) | |
Merge pull request #8761 from idryzhov/fix-isis-vrf
isisd: fix using vrf interface as a loopback
Diffstat (limited to 'isisd/isis_cli.c')
| -rw-r--r-- | isisd/isis_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index 5aea9f25d9..415c25fbf9 100644 --- a/isisd/isis_cli.c +++ b/isisd/isis_cli.c @@ -195,7 +195,7 @@ DEFPY_YANG(ip_router_isis, ip_router_isis_cmd, /* check if the interface is a loopback and if so set it as passive */ ifp = nb_running_get_entry(NULL, VTY_CURR_XPATH, false); - if (ifp && if_is_loopback(ifp)) + if (ifp && if_is_loopback_or_vrf(ifp)) nb_cli_enqueue_change(vty, "./frr-isisd:isis/passive", NB_OP_MODIFY, "true"); @@ -252,7 +252,7 @@ DEFPY_YANG(ip6_router_isis, ip6_router_isis_cmd, /* check if the interface is a loopback and if so set it as passive */ ifp = nb_running_get_entry(NULL, VTY_CURR_XPATH, false); - if (ifp && if_is_loopback(ifp)) + if (ifp && if_is_loopback_or_vrf(ifp)) nb_cli_enqueue_change(vty, "./frr-isisd:isis/passive", NB_OP_MODIFY, "true"); |
