]> git.proxmox.com Git - mirror_frr.git/commit
isisd: fix vty show isis metric
authorEmanuele Di Pascale <emanuele@voltanet.io>
Fri, 20 Mar 2020 15:38:39 +0000 (16:38 +0100)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Fri, 20 Mar 2020 15:43:53 +0000 (16:43 +0100)
commitd32a4cac6f9bcd1654ae1310ebe61012b7005477
tree13ddaf3fa9d3edd0732a83c7f8d869935163e8a8
parente64e77375c94373e0dbf82504e98233fc2fe039a
isisd: fix vty show isis metric

the vtysh command to set the isis metric on an interface
is 'isis metric level-1 X', but when showing the running
config we were displaying it as 'isis metric X level-1'.
This would confuse frr-reload.py when attempting to apply
a config file populated with the correct command; on the
other hand, using the show command format would return an
error when running vtysh -C on the file.

Fix this by making the show command return the same format
as the vtysh setting command.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
isisd/isis_cli.c