summaryrefslogtreecommitdiff
path: root/proto/bfd/bfd.c
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2016-01-07 11:29:05 +0100
committerJan Moskyto Matejka <mq@ucw.cz>2016-01-11 09:29:51 +0100
commit5b218c3d9bf9357aed0acf535bdfc6684cc5cda4 (patch)
treedcd9dcbd1faa343e0fc603ff7ebec6740a359f8b /proto/bfd/bfd.c
parentb9f56921865dfe816091266e990e94db3e2fdbdf (diff)
BFD: split of v4/v6 sockets
Diffstat (limited to 'proto/bfd/bfd.c')
-rw-r--r--proto/bfd/bfd.c6
1 files changed, 4 insertions, 2 deletions
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);