-/* $OpenBSD: rde_update.c,v 1.164 2023/10/12 14:16:28 claudio Exp $ */
+/* $OpenBSD: rde_update.c,v 1.165 2024/01/23 15:59:56 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
/*
* Generate updates for the add-path send all case. Since all prefixes
* are distributed just remove old and add new.
- */
+ */
void
up_generate_addpath_all(struct rde_peer *peer, struct rib_entry *re,
struct prefix *new, struct prefix *old)
* | Network Layer Reachability Information (variable) |
* +-----------------------------------------------------+
*
- * Multiprotocol messages use MP_REACH_NLRI and MP_UNREACH_NLRI
+ * Multiprotocol messages use MP_REACH_NLRI and MP_UNREACH_NLRI
* the latter will be the only path attribute in a message.
*/
return -1;
if (aid != AID_INET) {
- /* write MP_UNREACH_NLRI attribute length (always extended) */
+ /* write MP_UNREACH_NLRI attribute length (always extended) */
len -= 4; /* skip attribute header */
if (ibuf_set_n16(buf, off + sizeof(len) + 2, len) == -1)
return -1;
-/* $OpenBSD: rtr_proto.c,v 1.32 2024/01/15 11:55:26 claudio Exp $ */
+/* $OpenBSD: rtr_proto.c,v 1.33 2024/01/23 15:59:56 claudio Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
}
log_warnx("rtr %s: sending error: %s%s%s", log_rtr(rs),
- log_rtr_error(err), mlen > 0 ? ": " : "", rs->last_sent_msg);
+ log_rtr_error(err), mlen > 0 ? ": " : "", rs->last_sent_msg);
if (pdu != NULL) {
ibuf_rewind(pdu);