Signed-off-by: Benjamin Cama <benoar@dolka.fr>
capability->code, peer->name);
bgp_send_notification_full(peer, BGP_ERR_OPEN, BGP_ERR_OPN_UNSUP_CAP,
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;
}
/* 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,
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;
}
/* we don't terminate, still; we just jump to the next one */
continue;
}