summaryrefslogtreecommitdiffstats
path: root/bfdd/bfdd.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2018-08-28 21:20:52 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2018-09-03 15:41:33 +0200
commit8a9f760ed9d490ebadb51be5783c6149881b066f (patch)
tree70f9dd75f9504e51dcdd1c1860f30576a5b1570d /bfdd/bfdd.c
parentbfdd: remove global variables and improve logs (diff)
downloadfrr-8a9f760ed9d490ebadb51be5783c6149881b066f.tar.xz
frr-8a9f760ed9d490ebadb51be5783c6149881b066f.zip
bfdd: remove VxLAN code
Remove all VxLAN code. There are probably better ways to write VxLAN support without having to use raw sockets and depend on extra user configuration input. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bfdd/bfdd.c')
-rw-r--r--bfdd/bfdd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/bfdd/bfdd.c b/bfdd/bfdd.c
index 144619088..44a29861b 100644
--- a/bfdd/bfdd.c
+++ b/bfdd/bfdd.c
@@ -90,7 +90,6 @@ static void sigterm_handler(void)
socket_close(&bglobal.bg_mhop);
socket_close(&bglobal.bg_shop6);
socket_close(&bglobal.bg_mhop6);
- socket_close(&bglobal.bg_vxlan);
/* Terminate and free() FRR related memory. */
frr_fini();
@@ -155,7 +154,6 @@ static void bg_init(void)
bglobal.bg_shop6 = bp_udp6_shop();
bglobal.bg_mhop6 = bp_udp6_mhop();
bglobal.bg_echo = ptm_bfd_echo_sock_init();
- bglobal.bg_vxlan = ptm_bfd_vxlan_sock_init();
}
int main(int argc, char *argv[])
@@ -216,10 +214,6 @@ int main(int argc, char *argv[])
&bglobal.bg_ev[3]);
thread_add_read(master, bfd_recv_cb, NULL, bglobal.bg_echo,
&bglobal.bg_ev[4]);
-#if 0 /* TODO VxLAN support. */
- thread_add_read(master, bfd_recv_cb, NULL, bglobal.bg_vxlan,
- &bglobal.bg_ev[5]);
-#endif
thread_add_read(master, control_accept, NULL, bglobal.bg_csock,
&bglobal.bg_csockev);