mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
Merge pull request #17027 from FRRouting/mergify/bp/stable/10.0/pr-17014
isisd: fix wrong check for MT commands (backport #17014)
This commit is contained in:
commit
29f5546711
@ -4299,14 +4299,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