summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-11-28 16:39:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-11-28 16:39:35 +0000
commit7e5f9e3805cae5d88127896b6c930fded4293638 (patch)
treeeb3e429882f1780a2b9fac417a32e5b0f8720af9 /usr.sbin/bgpd/bgpd.c
parentad9b38f7b39476f6dc3637954afe88c789eef783 (diff)
allow bgpd to work on alternate routing tables, claudio ok, jmc manpage help
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r--usr.sbin/bgpd/bgpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index 65fa69dfa29..af2d9f1c813 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.139 2006/06/19 20:48:36 jmc Exp $ */
+/* $OpenBSD: bgpd.c,v 1.140 2006/11/28 16:39:34 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -240,7 +240,8 @@ main(int argc, char *argv[])
imsg_init(ibuf_se, pipe_m2s[0]);
imsg_init(ibuf_rde, pipe_m2r[0]);
mrt_init(ibuf_rde, ibuf_se);
- if ((rfd = kr_init(!(conf.flags & BGPD_FLAG_NO_FIB_UPDATE))) == -1)
+ if ((rfd = kr_init(!(conf.flags & BGPD_FLAG_NO_FIB_UPDATE),
+ conf.rtableid)) == -1)
quit = 1;
if (pftable_clear_all() != 0)
quit = 1;