mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-30 04:42:12 +00:00
Merge pull request #17014 from anlancs/fix/isisd-topo-check
isisd: fix wrong check for MT commands
This commit is contained in:
commit
4bf780fce9
@ -4297,14 +4297,6 @@ static int lib_interface_isis_multi_topology_common(
|
|||||||
|
|
||||||
switch (event) {
|
switch (event) {
|
||||||
case NB_EV_VALIDATE:
|
case NB_EV_VALIDATE:
|
||||||
circuit = nb_running_get_entry(dnode, NULL, false);
|
|
||||||
if (circuit && circuit->area && circuit->area->oldmetric) {
|
|
||||||
snprintf(
|
|
||||||
errmsg, errmsg_len,
|
|
||||||
"Multi topology IS-IS can only be used with wide metrics");
|
|
||||||
return NB_ERR_VALIDATION;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case NB_EV_PREPARE:
|
case NB_EV_PREPARE:
|
||||||
case NB_EV_ABORT:
|
case NB_EV_ABORT:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user