]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_route.h
Merge branch 'master' of https://github.com/dwalton76/frr into bgpd-draft-ietf-grow...
[mirror_frr.git] / bgpd / bgp_route.h
index b9d7957c6857d6e59de428f0c1b6845f044eeb22..d2309d4d055144aaa34877b9e2e6d373c42e4299 100644 (file)
@@ -22,6 +22,7 @@
 #define _QUAGGA_BGP_ROUTE_H
 
 #include "queue.h"
+#include "nexthop.h"
 #include "bgp_table.h"
 
 struct bgp_nexthop_cache;
@@ -326,8 +327,7 @@ extern int bgp_nlri_parse_ip(struct peer *, struct attr *, struct bgp_nlri *);
 extern int bgp_maximum_prefix_overflow(struct peer *, afi_t, safi_t, int);
 
 extern void bgp_redistribute_add(struct bgp *, struct prefix *,
-                                const struct in_addr *,
-                                const struct in6_addr *, unsigned int ifindex,
+                                const union g_addr *, unsigned int ifindex,
                                 u_int32_t, u_char, u_short, route_tag_t);
 extern void bgp_redistribute_delete(struct bgp *, struct prefix *, u_char,
                                    u_short);