From 5b218c3d9bf9357aed0acf535bdfc6684cc5cda4 Mon Sep 17 00:00:00 2001 From: Jan Moskyto Matejka Date: Thu, 7 Jan 2016 11:29:05 +0100 Subject: BFD: split of v4/v6 sockets --- proto/bfd/bfd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'proto/bfd/bfd.c') diff --git a/proto/bfd/bfd.c b/proto/bfd/bfd.c index 3ba3a5d9..110bf931 100644 --- a/proto/bfd/bfd.c +++ b/proto/bfd/bfd.c @@ -981,8 +981,10 @@ bfd_start(struct proto *P) add_tail(&bfd_proto_list, &p->bfd_node); birdloop_enter(p->loop); - p->rx_1 = bfd_open_rx_sk(p, 0); - p->rx_m = bfd_open_rx_sk(p, 1); + p->rx4_1 = bfd_open_rx_sk(p, 0, 4); + p->rx4_m = bfd_open_rx_sk(p, 1, 4); + p->rx6_1 = bfd_open_rx_sk(p, 0, 6); + p->rx6_m = bfd_open_rx_sk(p, 1, 6); birdloop_leave(p->loop); bfd_take_requests(p); -- cgit v1.2.3