LOG(4, 0, 0, "BGP peer %s: state Active\n", inet_ntoa(addr.sin_addr));
+ peer->handle_ipv6_routes = 0;
+
return bgp_send_open(peer);
}
LOG(4, 0, 0, "BGP peer %s: state Active\n", peer->name);
+ peer->handle_ipv6_routes = 0;
+
return bgp_send_open(peer);
}
capability->code, peer->name);
bgp_send_notification_full(peer, BGP_ERR_OPEN, BGP_ERR_OPN_UNSUP_CAP,
- capability, 2 + capability->len);
+ (char *)capability, 2 + capability->len);
/* we don't terminate, still; we just jump to the next one */
continue;
}
mp_cap->afi, mp_cap->safi, peer->name);
bgp_send_notification_full(peer, BGP_ERR_OPEN, BGP_ERR_OPN_UNSUP_CAP,
- capability, 2 + capability->len);
+ (char *)capability, 2 + capability->len);
/* we don't terminate, still; we just jump to the next one */
continue;
}
+ peer->handle_ipv6_routes = 1;
}
}