mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 18:56:40 +00:00
Merge pull request #17083 from opensourcerouting/fix/openfabric_remove_redundant_check
isisd: Remove circuit state check for openfabric
This commit is contained in:
commit
8a50afc52b
@ -218,17 +218,9 @@ DEFUN (ip_router_isis,
|
||||
if (!area)
|
||||
isis_area_create(area_tag, VRF_DEFAULT_NAME);
|
||||
|
||||
if (!circuit) {
|
||||
if (!circuit)
|
||||
circuit = isis_circuit_new(ifp, area_tag);
|
||||
|
||||
if (circuit->state != C_STATE_CONF
|
||||
&& circuit->state != C_STATE_UP) {
|
||||
vty_out(vty,
|
||||
"Couldn't bring up interface, please check log.\n");
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
}
|
||||
|
||||
bool ip = circuit->ip_router, ipv6 = circuit->ipv6_router;
|
||||
if (af[2] != '\0')
|
||||
ipv6 = true;
|
||||
|
Loading…
Reference in New Issue
Block a user