summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2003-12-20 21:43:46 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2003-12-20 21:43:46 +0000
commitd9804fe79b882569b65969947971219de541c0eb (patch)
treecf4e0ee10350a984d7bb1174cb8495b5f2c4488f /usr.sbin
parent6b6dcdee6e4346d1d4e23063284a61ab2ff5094a (diff)
knf. OK henning@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/mrt.c10
-rw-r--r--usr.sbin/bgpd/rde.c10
-rw-r--r--usr.sbin/bgpd/session.c5
3 files changed, 12 insertions, 13 deletions
diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c
index ce0ab77cb56..284680a1b1e 100644
--- a/usr.sbin/bgpd/mrt.c
+++ b/usr.sbin/bgpd/mrt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mrt.c,v 1.4 2003/12/20 21:14:55 henning Exp $ */
+/* $OpenBSD: mrt.c,v 1.5 2003/12/20 21:43:45 claudio Exp $ */
/*
* Copyright (c) 2003 Claudio Jeker <cjeker@diehard.n-r-g.com>
@@ -307,13 +307,13 @@ mrt_usr1(struct mrt_config *conf, int rfd, int *rwait
break;
case MRT_STATE_DONE:
m->state = MRT_STATE_OPEN;
- *rwait += imsg_compose(rfd,
- IMSG_MRT_REQ, m->id, NULL, 0);
+ *rwait += imsg_compose(rfd, IMSG_MRT_REQ,
+ m->id, NULL, 0);
break;
default:
m->state = MRT_STATE_REOPEN;
- *rwait += imsg_compose(rfd,
- IMSG_MRT_END, m->id, NULL, 0);
+ *rwait += imsg_compose(rfd, IMSG_MRT_END,
+ m->id, NULL, 0);
break;
}
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index c7ec12e1c6b..66f8f064b31 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.14 2003/12/20 21:19:40 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.15 2003/12/20 21:43:45 claudio Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -252,8 +252,8 @@ rde_dispatch_imsg(int fd, int idx)
if (idx != PFD_PIPE_MAIN)
fatal("mrt request not from parent", 0);
/* ignore end message because a dump is atomic */
- main_queued_writes += imsg_compose(fd,
- IMSG_MRT_END, imsg.hdr.peerid, NULL, 0);
+ main_queued_writes += imsg_compose(fd, IMSG_MRT_END,
+ imsg.hdr.peerid, NULL, 0);
break;
default:
break;
@@ -504,8 +504,8 @@ rde_update_err(u_int32_t peerid, enum suberr_update errorcode)
u_int8_t errcode;
errcode = errorcode;
- se_queued_writes += imsg_compose(se_sock, IMSG_UPDATE_ERR,
- peerid, &errcode, sizeof(errcode));
+ se_queued_writes += imsg_compose(se_sock, IMSG_UPDATE_ERR, peerid,
+ &errcode, sizeof(errcode));
}
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index c9123823306..5d4a28a96e2 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.22 2003/12/20 21:31:37 henning Exp $ */
+/* $OpenBSD: session.c,v 1.23 2003/12/20 21:43:45 claudio Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -1322,6 +1322,5 @@ void
session_up(struct peer *peer)
{
s2r_queued_writes += imsg_compose(s2r_sock, IMSG_SESSION_UP,
- peer->conf.id, &peer->remote_bgpid,
- sizeof(peer->remote_bgpid));
+ peer->conf.id, &peer->remote_bgpid, sizeof(peer->remote_bgpid));
}