summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2020-01-08 18:01:22 +0000
committerderaadt <deraadt@openbsd.org>2020-01-08 18:01:22 +0000
commit42faa6aeeccafc18281dc541d9c25b5b6d13f94c (patch)
tree62aec26180acd0ff5a3f0d4fb88c7af72749a429 /usr.sbin/bgpd
parentSkip fdplock when freeing a file descriptor table. The lock is not (diff)
downloadwireguard-openbsd-42faa6aeeccafc18281dc541d9c25b5b6d13f94c.tar.xz
wireguard-openbsd-42faa6aeeccafc18281dc541d9c25b5b6d13f94c.zip
eye burning whitespace
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/mrt.c4
-rw-r--r--usr.sbin/bgpd/rde.c4
-rw-r--r--usr.sbin/bgpd/rde.h4
-rw-r--r--usr.sbin/bgpd/rde_rib.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c
index de4e48a21c7..d9ab0deff10 100644
--- a/usr.sbin/bgpd/mrt.c
+++ b/usr.sbin/bgpd/mrt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mrt.c,v 1.101 2019/12/31 12:02:47 claudio Exp $ */
+/* $OpenBSD: mrt.c,v 1.102 2020/01/08 18:01:22 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -233,7 +233,7 @@ mrt_attr_dump(struct ibuf *buf, struct rde_aspath *a, struct rde_community *c,
DUMP_NLONG(nhbuf, 0); /* set RD to 0 */
DUMP_NLONG(nhbuf, 0);
if (ibuf_add(nhbuf, &nexthop->v6,
- sizeof(struct in6_addr)) == -1)
+ sizeof(struct in6_addr)) == -1)
goto fail;
break;
}
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 4ca069e693f..83e0d1ed320 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.495 2020/01/01 07:25:04 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.496 2020/01/08 18:01:22 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -2552,7 +2552,7 @@ rde_dump_ctx_new(struct ctl_show_rib_request *req, pid_t pid,
default:
fatalx("%s: unsupported imsg type", __func__);
}
-
+
LIST_INSERT_HEAD(&rde_dump_h, ctx, entry);
return;
} else if ((rid = rib_find(req->rib)) == RIB_NOTFOUND) {
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h
index 42089e83c73..25bfd90b5a2 100644
--- a/usr.sbin/bgpd/rde.h
+++ b/usr.sbin/bgpd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.228 2020/01/01 07:25:04 claudio Exp $ */
+/* $OpenBSD: rde.h,v 1.229 2020/01/08 18:01:22 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and
@@ -567,7 +567,7 @@ void prefix_adjout_dump(struct rde_peer *, void *,
void (*)(struct prefix *, void *));
int prefix_dump_new(struct rde_peer *, u_int8_t, unsigned int,
void *, void (*)(struct prefix *, void *),
- void (*)(void *, u_int8_t), int (*)(void *));
+ void (*)(void *, u_int8_t), int (*)(void *));
int prefix_write(u_char *, int, struct bgpd_addr *, u_int8_t, int);
int prefix_writebuf(struct ibuf *, struct bgpd_addr *, u_int8_t);
struct prefix *prefix_bypeer(struct rib_entry *, struct rde_peer *);
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c
index bd95924a84d..01a86445ebc 100644
--- a/usr.sbin/bgpd/rde_rib.c
+++ b/usr.sbin/bgpd/rde_rib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_rib.c,v 1.210 2019/10/30 05:27:50 claudio Exp $ */
+/* $OpenBSD: rde_rib.c,v 1.211 2020/01/08 18:01:22 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -1335,7 +1335,7 @@ prefix_adjout_destroy(struct prefix *p)
}
RB_REMOVE(prefix_index, &peer->adj_rib_out, p);
-
+
prefix_unlink(p);
prefix_free(p);
}