summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-11-24 21:55:25 -0200
committerRenato Westphal <renato@opensourcerouting.org>2018-11-26 15:53:21 -0200
commitbb5b9c10c14ee9b9578f9e0b363784aa815c548d (patch)
tree5595532aee469f3d572a83062a4abd5aaa8fd51c /lib/if.c
parent25c780a32a0de196688b3f08e82e6a56d7b49b2f (diff)
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>
Diffstat (limited to 'lib/if.c')
0 files changed, 0 insertions, 0 deletions