summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-12-23 19:14:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-12-23 19:14:50 +0000
commit59c4a1cc1296ea258ae7b7c86aca3cced0776b24 (patch)
tree885b92a98e131eac1991e791d93b10b0e4018636 /usr.sbin/bgpd/rde.c
parent76f86f098565f5ee65a177a8a9f7c785f7a97fb4 (diff)
spacing
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 47f43379174..e7f8352b879 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.22 2003/12/23 19:13:27 henning Exp $ */
+/* $OpenBSD: rde.c,v 1.23 2003/12/23 19:14:49 deraadt Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -132,7 +132,7 @@ rde_main(struct bgpd_config *config, int pipe_m2r[2], int pipe_s2r[2])
pfd[PFD_PIPE_SESSION].fd = ibuf_se.sock;
pfd[PFD_PIPE_SESSION].events = POLLIN;
- if (ibuf_se.w.queued > 0)
+ if (ibuf_se.w.queued > 0)
pfd[PFD_PIPE_SESSION].events |= POLLOUT;
if ((nfds = poll(pfd, 2, INFTIM)) == -1)
@@ -530,7 +530,7 @@ rde_send_kroute(struct prefix *new, struct prefix *old)
type = IMSG_KROUTE_CHANGE;
p = new;
}
-
+
kr.prefix = p->prefix->prefix.s_addr;
kr.prefixlen = p->prefix->prefixlen;
kr.nexthop = p->aspath->flags.nexthop.s_addr;