summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-04-18 11:00:43 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-04-18 11:00:43 +0000
commit463ca9bf8355bf3ab49168a65789e763e41e0b44 (patch)
treeffc69ee4fd220ffac50af3f39f9f6f44af20a8ca /usr.sbin
parentfddefba79eb31c3a8f4146a7c501bae7dc8dca50 (diff)
Print mrt config after the main and network config. Main and network config
belong together. OK henning@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/printconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c
index 2464a9faa54..38142517e14 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.39 2005/04/12 14:32:00 claudio Exp $ */
+/* $OpenBSD: printconf.c,v 1.40 2005/04/18 11:00:42 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -497,11 +497,11 @@ print_config(struct bgpd_config *conf, struct network_head *net_l,
printf("\n");
print_mainconf(conf);
printf("\n");
- print_mrt(0, 0, "", "");
- printf("\n");
TAILQ_FOREACH(n, net_l, entry)
print_network(&n->net);
printf("\n");
+ print_mrt(0, 0, "", "");
+ printf("\n");
print_groups(conf, peer_l);
printf("\n");
TAILQ_FOREACH(r, rules_l, entry)