diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-13 14:03:21 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-13 14:03:21 +0000 |
commit | e3c8d54a792ae8babd51739f377ebc34a8498a35 (patch) | |
tree | af3a5f9f65e445023839ef552bdf3d593494426d /usr.sbin/bgpd/printconf.c | |
parent | d292483c42a9ff83da5520765dc5ef88c785dba1 (diff) |
Fix minor issues with IPv6 dumps and add a function for dumping the RIB table
protocol independent. This new dump format is not (yet) supported by the
mrtd route_btoa tool. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/printconf.c')
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c index 0309f85e373..f0642e7f056 100644 --- a/usr.sbin/bgpd/printconf.c +++ b/usr.sbin/bgpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.26 2004/08/10 13:02:08 claudio Exp $ */ +/* $OpenBSD: printconf.c,v 1.27 2004/08/13 14:03:20 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -334,9 +334,11 @@ mrt_type(enum mrt_type t) { switch (t) { case MRT_NONE: - return "unfluffy MRT"; + break; case MRT_TABLE_DUMP: return "table"; + case MRT_TABLE_DUMP_MP: + return "table-mp"; case MRT_ALL_IN: return "all in"; case MRT_ALL_OUT: |