summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-04-11 13:29:47 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-05-07 16:01:42 +0200
commit5ef92a2b20914efda1d2bdff65a17c58f9ec8dca (patch)
treed8b7448a2438b44e1395377eeb9b815b3e46c654 /lib/command.c
parent626618caeecc5fcc1ba27153e5acb386a1068ca4 (diff)
bfdd: avoid creating duplicate peer contexts
when configuring bfd peers, some parameters may or may not be taken into account to search for a previous context. This has as consequence that the result is different with the order of vty commands: bfd peer 4.5.6.7 vrf AAAA local-address 1.2.3.5 end peer 4.5.6.7 vrf AAAA <--- should not create new session end Similarly, the user thinks it has overwritten some key parameters like local address, whereas it is wrong. here, some informational message should be present. bfd peer 4.5.6.7 vrf AAAA end peer 4.5.6.7 vrf AAAA local-address 1.2.3.5 <--- should inform that the key lookup 1.2.3.5 is wrong end Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions