From: claudio Date: Tue, 23 Jan 2024 15:59:56 +0000 (+0000) Subject: KNF, space before EOL X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1f53ead5c425187e4348699a56a2acec0ec799da;p=openbsd KNF, space before EOL --- diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c index 10d031d6335..77c634e207e 100644 --- a/usr.sbin/bgpd/rde_update.c +++ b/usr.sbin/bgpd/rde_update.c @@ -1,4 +1,4 @@ -/* $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 @@ -330,7 +330,7 @@ up_generate_addpath(struct rde_peer *peer, struct rib_entry *re) /* * 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) @@ -964,7 +964,7 @@ up_generate_mp_reach(struct ibuf *buf, struct rde_peer *peer, * | 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. */ @@ -1017,7 +1017,7 @@ up_dump_withdraws(struct ibuf *buf, struct rde_peer *peer, uint8_t aid) 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; diff --git a/usr.sbin/bgpd/rtr_proto.c b/usr.sbin/bgpd/rtr_proto.c index 958d4385e73..aec9ea31053 100644 --- a/usr.sbin/bgpd/rtr_proto.c +++ b/usr.sbin/bgpd/rtr_proto.c @@ -1,4 +1,4 @@ -/* $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 @@ -323,7 +323,7 @@ rtr_send_error(struct rtr_session *rs, struct ibuf *pdu, enum rtr_error err, } 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);