]> git.proxmox.com Git - mirror_frr.git/commit
ripd: fix display of the "distance" command
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 24 Nov 2018 23:55:25 +0000 (21:55 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 26 Nov 2018 17:53:21 +0000 (15:53 -0200)
commitbb5b9c10c14ee9b9578f9e0b363784aa815c548d
tree5595532aee469f3d572a83062a4abd5aaa8fd51c
parent25c780a32a0de196688b3f08e82e6a56d7b49b2f
ripd: fix display of the "distance" command

When displaying a configuration using the "with-defaults" option,
do not display "distance 0" when the "distance" command is not
configured. The range of accepted values is (1-255), so "distance
0" isn't a valid command. In this case, display "no distance".

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ripd/rip_cli.c