summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-02-02 16:10:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-02-02 16:10:34 +0000
commitb66f796d2882afef1f00e5dc8f11e806c41d2775 (patch)
tree819edab9ea4be31dea882f426c05631e62ff9e6e /usr.sbin/bgpd/rde.c
parent2d6bef490dc6dfbcb8d664ecb8fe37e48c6aaafb (diff)
Cleanup a couple of fatal messages to be less bad.
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 17d357c5999..0b62f8cc5dc 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.620 2024/01/30 13:50:09 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.621 2024/02/02 16:10:33 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -2484,7 +2484,7 @@ rde_update_err(struct rde_peer *peer, uint8_t error, uint8_t suberr,
fatal("%s %d imsg_add error", __func__, __LINE__);
if (opt != NULL)
if (ibuf_add_ibuf(wbuf, opt) == -1)
- fatal("%s %d imsg_add error", __func__, __LINE__);
+ fatal("%s %d ibuf_add_ibuf error", __func__, __LINE__);
imsg_close(ibuf_se, wbuf);
peer->state = PEER_ERR;
}
@@ -4244,8 +4244,7 @@ rde_peer_send_eor(struct rde_peer *peer, uint8_t aid)
if (imsg_compose(ibuf_se, IMSG_UPDATE, peer->conf.id,
0, -1, &buf, 10) == -1)
- fatal("%s %d imsg_compose error in peer_send_eor",
- __func__, __LINE__);
+ fatal("%s %d imsg_compose error", __func__, __LINE__);
}
log_peer_info(&peer->conf, "sending %s EOR marker",