diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-07-03 17:20:00 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-07-03 17:20:00 +0000 |
commit | 87cfe6e1e9ac329627ea8a97d6f5756ca6acb079 (patch) | |
tree | 2f284e8ba9618c7cf05143b38d6876c5aef8e362 /usr.sbin/bgpd/buffer.c | |
parent | f67a7215fd9cb58925ec5da43a2f29466f8ac6a0 (diff) |
Switch mrt dumping to fd passing. This gives some speed up when extensive
dumping is done. Acctually mrt dumps were broken because of the fd passing.
The nice side effect is a much cleaner code, especially in the parent process.
OK henning@
Diffstat (limited to 'usr.sbin/bgpd/buffer.c')
-rw-r--r-- | usr.sbin/bgpd/buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/buffer.c b/usr.sbin/bgpd/buffer.c index a47ced7b15d..6887b793a59 100644 --- a/usr.sbin/bgpd/buffer.c +++ b/usr.sbin/bgpd/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.21 2004/06/20 18:35:12 henning Exp $ */ +/* $OpenBSD: buffer.c,v 1.22 2004/07/03 17:19:59 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -29,7 +29,6 @@ #include "bgpd.h" -int buf_write(int, struct buf *); void buf_enqueue(struct msgbuf *, struct buf *); void buf_dequeue(struct msgbuf *, struct buf *); |