diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2009-03-26 13:59:31 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2009-03-26 13:59:31 +0000 |
commit | 8b2a227a5897891250857f9d7d2fdfd744d67f75 (patch) | |
tree | 1a776cb602aec916f29911570ca80659d2c0037c /usr.sbin/bgpd/printconf.c | |
parent | 5f475229f8e08e1366ab1625121e5c12876423a0 (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.c | 4 |
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) |