summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2005-04-18 11:00:42 +0000
committerclaudio <claudio@openbsd.org>2005-04-18 11:00:42 +0000
commitd71c9668d0371f3c345f67bc4163fee1428caa08 (patch)
treed7ca1858a97cbf53d74e9733b952b020ccef95d4
parentpeople who import gnu fdl should stay away from the tree. (diff)
downloadwireguard-openbsd-d71c9668d0371f3c345f67bc4163fee1428caa08.tar.xz
wireguard-openbsd-d71c9668d0371f3c345f67bc4163fee1428caa08.zip
Print mrt config after the main and network config. Main and network config
belong together. OK henning@
-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)