summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index adceec9657d..93d63f19644 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.239 2009/03/13 16:05:40 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.240 2009/03/18 19:45:09 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -700,7 +700,8 @@ rde_dispatch_imsg_parent(struct imsgbuf *ibuf)
if ((xmrt->wbuf.fd = imsg_get_fd(ibuf)) == -1)
log_warnx("expected to receive fd for mrt dump "
"but didn't receive any");
- else if (xmrt->type == MRT_TABLE_DUMP) {
+ else if (xmrt->type == MRT_TABLE_DUMP ||
+ xmrt->type == MRT_TABLE_DUMP_MP) {
/* do not dump if another is still running */
if (mrt == NULL || mrt->wbuf.queued == 0) {
free(mrt);