diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-01-04 10:26:15 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-01-04 10:26:15 +0000 |
commit | d8d64249f39ddc07c44011e27e9a38e44d72a228 (patch) | |
tree | bea1303bf5aed58af24ab8f4e11257817c706fc3 /usr.sbin/bgpd/bgpd.c | |
parent | 746aa09b08932533a5a257e6eb33bb3e3372ee91 (diff) |
Rename argument roa of imsg_send_sockets() to rtr since the imsgbuf is
for PROC_RTR.
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 5ad395a6d34..c744783f21a 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.260 2023/11/07 11:18:35 claudio Exp $ */ +/* $OpenBSD: bgpd.c,v 1.261 2024/01/04 10:26:14 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1295,7 +1295,7 @@ getsockpair(int pipe[2]) } int -imsg_send_sockets(struct imsgbuf *se, struct imsgbuf *rde, struct imsgbuf *roa) +imsg_send_sockets(struct imsgbuf *se, struct imsgbuf *rde, struct imsgbuf *rtr) { int pipe_s2r[2]; int pipe_s2r_ctl[2]; @@ -1319,7 +1319,7 @@ imsg_send_sockets(struct imsgbuf *se, struct imsgbuf *rde, struct imsgbuf *roa) NULL, 0) == -1) return (-1); - if (imsg_compose(roa, IMSG_SOCKET_CONN_RTR, 0, 0, pipe_r2r[0], + if (imsg_compose(rtr, IMSG_SOCKET_CONN_RTR, 0, 0, pipe_r2r[0], NULL, 0) == -1) return (-1); if (imsg_compose(rde, IMSG_SOCKET_CONN_RTR, 0, 0, pipe_r2r[1], |