summaryrefslogtreecommitdiff
path: root/lib/xref.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-10-14 21:06:38 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-10-15 03:42:52 +0300
commit33fc8bc7f30646fa7a4cee324d26e6979aa60400 (patch)
tree737f6fcd813d22446f804b55147a6fd8b8a024a5 /lib/xref.c
parent7b3e821076043c1f141e1235557344b9e0b345d4 (diff)
bfdd: cleanup bfd_session_enable
Well, there are some weird and duplicated checks there... All we need is two simple checks: - VRF existence. We must have it to enable the session. - Interface existence. If it's configured for the session, we have to bind the session to the interface. This commit implements these checks and removes unnecessary duplication. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/xref.c')
0 files changed, 0 insertions, 0 deletions