]> git.proxmox.com Git - mirror_frr.git/commit
ospfd, ospf6d: fix distance commands
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 3 Apr 2017 20:17:12 +0000 (20:17 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 3 Apr 2017 20:17:12 +0000 (20:17 +0000)
commiteaa1ae0db4841d20d74943cf2c569ecff663c926
tree6e04cade71aae00c436c6ea75c221d52225aedf8
parent81b43075b74056318abca64c223d864c940d4285
ospfd, ospf6d: fix distance commands

OSPF distance commands were broken in a variety of ways. Fix 'em.

* `distance ospf` and `distance ospf6` were accepted commands
* Inconsistent doc strings
* Make use of {keyword|tokens}
* Add ability to reset specific distance without specifying a value
  Ex: ~# no distance ospf6 intra

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
ospf6d/ospf6_top.c
ospfd/ospf_vty.c