summaryrefslogtreecommitdiffstats
path: root/bfdd/bfdd.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2018-06-27 18:26:06 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2018-08-08 23:25:04 +0200
commitc2f29cf3d703e941d86c403682f9b76332bfdd6d (patch)
treeeaa0e925405b9f5ac2ef16eb5d5988c9591d9b50 /bfdd/bfdd.c
parentbfdd: wire to the build process (diff)
downloadfrr-c2f29cf3d703e941d86c403682f9b76332bfdd6d.tar.xz
frr-c2f29cf3d703e941d86c403682f9b76332bfdd6d.zip
bfdd: add vty shell commands
Implement vty shell integration and allow `bfdd` to be configured through FRR's vtysh. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bfdd/bfdd.c')
-rw-r--r--bfdd/bfdd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfdd/bfdd.c b/bfdd/bfdd.c
index 3313c8137..fb3a0fcfb 100644
--- a/bfdd/bfdd.c
+++ b/bfdd/bfdd.c
@@ -224,6 +224,9 @@ int main(int argc, char *argv[])
thread_add_read(master, control_accept, NULL, bglobal.bg_csock,
&bglobal.bg_csockev);
+ /* Install commands. */
+ bfdd_vty_init();
+
/* read configuration file and daemonize */
frr_config_fork();