]> git.puffer.fish Git - mirror/frr.git/commit
bfdd: fix northbound remote-discriminator display
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 29 May 2019 20:17:37 +0000 (17:17 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Sat, 22 Jun 2019 13:10:56 +0000 (10:10 -0300)
commit0030482f5ecdbab54ee607908b70ce3022728380
tree0ec1514060a9aa5e511517a6d2cd0150c722b97b
parent0287a64a6ecf653d0c8be9212d34822ffe3e592e
bfdd: fix northbound remote-discriminator display

When the remote discriminator hasn't been assigned yet, then we can't
return a value of 0. The value '0' is an invalid discriminator and the
yang handlers will complain about it.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bfdd/bfdd_northbound.c