]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: Fix distance command 1742/head
authorChirag Shah <chirag@cumulusnetworks.com>
Mon, 12 Feb 2018 04:27:43 +0000 (20:27 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Mon, 12 Feb 2018 05:05:37 +0000 (21:05 -0800)
commit926b88f00d0391d1356753fcbdb1983bff2ef79d
tree7413f6c5958938d0de3a21342b1dc3bec01f944f
parentf89a449b5f109668bfcbc823db855244dfa7e170
ospfd: Fix distance command

Reset prevoiusly configured distance command options
if user enters new (different) parameters.

Ticket:CM-19635
Testing Done:

R1(config-router)# distance ospf intra-area 45 external 45
R1# show running-config ospfd
router ospf
 distance ospf intra-area 45 external 45

R1(config-router)# distance ospf inter-area 45
R1# show running-config ospfd
router ospf
 distance ospf inter-area 45

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospfd/ospf_vty.c