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:
Donald Sharp 2024-10-08 09:32:01 -04:00 committed by GitHub
commit 29f5546711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;