diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-01-04 12:43:37 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-01-04 12:43:37 +0000 |
commit | deb608b55212d1d748b2fc1e22ebb1207cf73810 (patch) | |
tree | a87bce793a097e005ca8582d8206a278fc5c0d20 /usr.sbin/bgpd/session.h | |
parent | 324d775f11fb4a7bfc76acb7f35599e0d08d239f (diff) |
Do not run rde_shutdown() unless bgpd is started with -d.
On some of my systems rde_shutdown() takes more than 3min doing nothing more
than calling free(3) over and over again.
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r-- | usr.sbin/bgpd/session.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index 9d53860cdb7..8d95671c438 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.88 2006/10/26 14:26:49 henning Exp $ */ +/* $OpenBSD: session.h,v 1.89 2007/01/04 12:43:36 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -228,7 +228,8 @@ void prepare_listeners(struct bgpd_config *); /* rde.c */ pid_t rde_main(struct bgpd_config *, struct peer *, struct network_head *, - struct filter_head *, struct mrt_head *, int[2], int[2], int[2]); + struct filter_head *, struct mrt_head *, int[2], int[2], int[2], + int); /* control.c */ int control_init(int, char *); |