2012-07-13 16:40:43 +00:00
|
|
|
--- a/bgpd/bgp_route.c
|
|
|
|
+++ b/bgpd/bgp_route.c
|
2012-07-13 16:35:56 +00:00
|
|
|
@@ -2485,12 +2485,8 @@ bgp_default_originate (struct peer *peer
|
|
|
|
#ifdef HAVE_IPV6
|
|
|
|
else if (afi == AFI_IP6)
|
|
|
|
{
|
|
|
|
- struct attr_extra *ae;
|
|
|
|
- attr.extra = NULL;
|
|
|
|
-
|
|
|
|
- ae = bgp_attr_extra_get (&attr);
|
|
|
|
- attr.extra = ae;
|
|
|
|
-
|
|
|
|
+ struct attr_extra *ae = attr.extra;
|
|
|
|
+
|
|
|
|
str2prefix ("::/0", &p);
|
|
|
|
|
|
|
|
/* IPv6 global nexthop must be included. */
|