summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-02-09 00:00:42 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-02-09 00:00:42 +0000
commitf3ac041a5586e256aa59bc2e6dda74191ed80192 (patch)
treeb5605a11f62dc4de7f6b257acce89d681d9ccf5c /usr.sbin/bgpd/parse.y
parent8a86b13a9680c84a15047409e47c7e9880b2c432 (diff)
move printing the config to where it belongs
Diffstat (limited to 'usr.sbin/bgpd/parse.y')
-rw-r--r--usr.sbin/bgpd/parse.y7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 0b137d3b785..5aa9e7438b5 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.53 2004/02/08 23:44:57 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.54 2004/02/09 00:00:41 henning Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -865,7 +865,6 @@ parse_config(char *filename, struct bgpd_config *xconf,
{
struct sym *sym, *next;
struct peer *p, *pnext;
- struct filter_rule *r;
if ((conf = calloc(1, sizeof(struct bgpd_config))) == NULL)
fatal(NULL);
@@ -916,10 +915,6 @@ parse_config(char *filename, struct bgpd_config *xconf,
}
}
- if (xconf->opts & BGPD_OPT_VERBOSE)
- TAILQ_FOREACH(r, filter_l, entries)
- print_rule(peer_l, r);
-
errors += merge_config(xconf, conf, peer_l);
errors += mrt_mergeconfig(xmconf, mrtconf);
*xpeers = peer_l;