Signed-off-by: Benjamin Cama <benoar@dolka.fr>
}
if (notification->error_code == BGP_ERR_OPEN
}
if (notification->error_code == BGP_ERR_OPEN
- && notification->subcode == BGP_ERR_OPN_UNSUP_CAP)
+ && notification->error_subcode == BGP_ERR_OPN_UNSUP_CAP)
{
/* the only capability we advertise is this one, so upon receiving
an "unsupported capability" message, we disable IPv6 routes for
{
/* the only capability we advertise is this one, so upon receiving
an "unsupported capability" message, we disable IPv6 routes for