]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_bfd.c
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / ospf6d / ospf6_bfd.c
index ba8c398dee4a1dd14fa74cfceface3eb16c8f9b9..6cc9c3013b2450a195f86a0565c7c153921173d5 100644 (file)
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /**
  * ospf6_bfd.c: IPv6 OSPF BFD handling routines
  *
  * @copyright Copyright (C) 2015 Cumulus Networks, Inc.
- *
- * This file is part of GNU Zebra.
- *
- * GNU Zebra is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2, or (at your option) any
- * later version.
- *
- * GNU Zebra is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <zebra.h>
@@ -143,6 +128,7 @@ void ospf6_bfd_info_nbr_create(struct ospf6_interface *oi,
        bfd_sess_set_ipv6_addrs(on->bfd_session, on->ospf6_if->linklocal_addr,
                                &on->linklocal_addr);
        bfd_sess_set_interface(on->bfd_session, oi->interface->name);
+       bfd_sess_set_vrf(on->bfd_session, oi->interface->vrf->vrf_id);
        bfd_sess_set_profile(on->bfd_session, oi->bfd_config.profile);
 }