diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-01-30 18:49:11 +0100 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-02-14 17:17:29 +0100 |
commit | 8bd859f6d3f60ade5ec0b2e92b2c2d3cb9634531 (patch) | |
tree | 6047752c4387c3852fa855ff3df9bc2f6e119e1c /bfdd/bfdd_vty.c | |
parent | bfdd: refactor timer handling (diff) | |
download | frr-8bd859f6d3f60ade5ec0b2e92b2c2d3cb9634531.tar.xz frr-8bd859f6d3f60ade5ec0b2e92b2c2d3cb9634531.zip |
bfdd: echo-mode doesn't need poll to start/stop
Remove all polling negotiation when starting/stopping `echo-mode` as it
is not necessary.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bfdd/bfdd_vty.c')
-rw-r--r-- | bfdd/bfdd_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfdd_vty.c b/bfdd/bfdd_vty.c index 3476e1621..032bccaf1 100644 --- a/bfdd/bfdd_vty.c +++ b/bfdd/bfdd_vty.c @@ -283,7 +283,7 @@ DEFPY(bfd_peer_echo, bfd_peer_echo_cmd, "[no] echo-mode", return CMD_SUCCESS; BFD_UNSET_FLAG(bs->flags, BFD_SESS_FLAG_ECHO); - ptm_bfd_echo_stop(bs, 0); + ptm_bfd_echo_stop(bs); } else { if (BFD_CHECK_FLAG(bs->flags, BFD_SESS_FLAG_ECHO)) return CMD_SUCCESS; |