diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-07-17 16:20:35 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-07-17 16:20:35 +0200 |
commit | cf7ff99513728e4e405508e5ccd7522289d4ec82 (patch) | |
tree | 628cf52de928cb52340b82c1e19ae1d2d2d21ba8 /proto/bfd/config.Y | |
parent | 2eaf65ec607b68748744fa8e0d596cf1f3ba117a (diff) |
BFD: Support for VRFs
Allow multiple BFD instances in separate VRFs, dispatch BFD requests
according to VRFs.
Thanks to Alexander Zubkov for notice and patches.
Diffstat (limited to 'proto/bfd/config.Y')
-rw-r--r-- | proto/bfd/config.Y | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/proto/bfd/config.Y b/proto/bfd/config.Y index 3f5714fd..53977dfb 100644 --- a/proto/bfd/config.Y +++ b/proto/bfd/config.Y @@ -38,10 +38,6 @@ bfd_proto_start: proto_start BFD this_proto = proto_config_new(&proto_bfd, $1); init_list(&BFD_CFG->patt_list); init_list(&BFD_CFG->neigh_list); - - if (bfd_cf) - cf_error("Only one BFD instance allowed"); - bfd_cf = BFD_CFG; }; bfd_proto_item: |