summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
authoranlan_cs <anlan_cs@126.com>2024-10-06 21:06:15 +0800
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-10-08 05:11:18 +0000
commitc3994f12e435364bdf8b7b1b63d699a3024e9d7d (patch)
treeeda2205a450289981dc2707497b09bb307f654fb /lib/routemap_cli.c
parentae6508ef193d0ab3e0470f6477de9e8a0f3f910d (diff)
isisd: fix wrong check for MT commands
``` anlan# show run ! interface eth0 ip router isis A exit ! router isis A metric-style narrow <- NOT wide exit ! end anlan (config)# int eth0 anlan (config-if)# no isis topology ipv6-unicast % Configuration failed. Error type: validation Error description: Multi topology IS-IS can only be used with wide metrics ``` The MT commands are mainly controlled by the binded area, not by interface. Currently if there is any MT configuration in the area, `metric-style` must be with the `wide` mode, this requirement is sufficient. So, the unnecessary/wrong check for MT in the interface should be removed. Signed-off-by: anlan_cs <anlan_cs@126.com> (cherry picked from commit 424cec61c0860c74436954a1f8ba6ee7fe8e04a5)
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions