]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_nht.h
bgpd: Fix crash when using v4 route w/ v6 nexthop
[mirror_frr.git] / bgpd / bgp_nht.h
index 7b29fa818fb566c1c4eb5f7ae4ee9e01b2e2e0f5..0cc045a065e9a506a38bb06c25d35c7052536a35 100644 (file)
@@ -75,4 +75,11 @@ extern void bgp_delete_connected_nexthop(afi_t afi, struct peer *peer);
  */
 extern void bgp_cleanup_nexthops(struct bgp *bgp);
 
+/*
+ * Add or remove the tracking of the bgp_path_info that
+ * uses this nexthop
+ */
+extern void path_nh_map(struct bgp_path_info *path,
+                       struct bgp_nexthop_cache *bnc, bool make);
+
 #endif /* _BGP_NHT_H */