summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/printconf.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2009-03-26 13:59:31 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2009-03-26 13:59:31 +0000
commit8b2a227a5897891250857f9d7d2fdfd744d67f75 (patch)
tree1a776cb602aec916f29911570ca80659d2c0037c /usr.sbin/bgpd/printconf.c
parent5f475229f8e08e1366ab1625121e5c12876423a0 (diff)
argh, do not reuse the global trans_as flag to be applied to the peer
specific or we had to widen the peer specific flags without need. defien PERRFLAG_TRANS_AS instead and use that
Diffstat (limited to 'usr.sbin/bgpd/printconf.c')
-rw-r--r--usr.sbin/bgpd/printconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c
index b444b69c736..1f311f5201b 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.66 2009/03/22 22:35:00 henning Exp $ */
+/* $OpenBSD: printconf.c,v 1.67 2009/03/26 13:59:30 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -317,7 +317,7 @@ print_peer(struct peer_config *p, struct bgpd_config *conf, const char *c)
printf("%s\tdemote %s\n", c, p->demote_group);
if (p->if_depend[0])
printf("%s\tdepend on \"%s\"\n", c, p->if_depend);
- if (p->flags & BGPD_FLAG_DECISION_TRANS_AS)
+ if (p->flags & PEERFLAG_TRANS_AS)
printf("%s\ttransparent-as yes\n", c);
if (p->auth.method == AUTH_MD5SIG)