summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/printconf.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-11-18 17:07:39 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-11-18 17:07:39 +0000
commit3939abe9d5c0b96842845b1c60a475263a5d54fa (patch)
treea1510d833f7b116368d819cd60afcfe9bfd3984b /usr.sbin/bgpd/printconf.c
parente112c79850e5d494d63994f614589d7f82c98411 (diff)
add an instance of struct capabilities to peer_conf, and inherit
peer->capa.ann from this
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 e1587d0506f..564ed3e004b 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.33 2004/11/11 10:35:15 claudio Exp $ */
+/* $OpenBSD: printconf.c,v 1.34 2004/11/18 17:07:38 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -166,7 +166,7 @@ print_peer(struct peer_config *p, struct bgpd_config *conf, const char *c)
printf("%s\tholdtime %u\n", c, p->holdtime);
if (p->min_holdtime)
printf("%s\tholdtime min %u\n", c, p->min_holdtime);
- if (p->capabilities == 0)
+ if (p->announce_capa == 0)
printf("%s\tannounce capabilities no\n", c);
if (p->announce_type == ANNOUNCE_SELF)
printf("%s\tannounce self\n", c);