diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-01-24 10:05:25 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-01-24 10:05:25 +0000 |
commit | 1d58353ae807abe480d31c49319f863eb5577343 (patch) | |
tree | 34114f88440ce3a7e20274d4e0ee351dcd18c0d5 /usr.sbin/bgpd | |
parent | b3a2603a8e646c2ca3738052011357b64031216e (diff) |
KNF
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde_rib.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index ec73429e23a..267511dce32 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.130 2006/01/24 10:03:44 henning Exp $ */ +/* $OpenBSD: bgpd.c,v 1.131 2006/01/24 10:05:24 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -303,7 +303,7 @@ main(int argc, char *argv[]) if (nfds == -1 || nfds == 0) continue; - + if (pfd[PFD_PIPE_SESSION].revents & POLLOUT) if (msgbuf_write(&ibuf_se->w) < 0) { log_warn("pipe write error (to SE)"); diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c index 33d488f2619..05cc2702431 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.80 2006/01/20 16:40:17 claudio Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.81 2006/01/24 10:05:24 henning Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -451,7 +451,7 @@ prefix_move(struct rde_aspath *asp, struct prefix *p, u_int32_t flags) p->flags &= ~flags; PREFIX_COUNT(p->aspath, flags, -1); /* as before peer count needs no update because of move */ - + /* redo the route decision for p */ LIST_REMOVE(p, prefix_l); /* If the prefix is the active one remove it first. */ |