summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-03-12 20:57:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-03-12 20:57:23 +0000
commite3e4ede983fd59e765e1bd43c53789dc6549860d (patch)
tree5dd3d949ca4392be007b8d44ed2c75098d7501b7
parent54b6a2ef9bda5b77dbf747a5a9d099f3197dc2f2 (diff)
print that capabilities stuff
-rw-r--r--usr.sbin/bgpd/printconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c
index f2e4d3ec5e5..02e29c070f3 100644
--- a/usr.sbin/bgpd/printconf.c
+++ b/usr.sbin/bgpd/printconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printconf.c,v 1.10 2004/03/11 17:34:01 henning Exp $ */
+/* $OpenBSD: printconf.c,v 1.11 2004/03/12 20:57:22 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -147,6 +147,8 @@ print_peer(struct peer_config *p)
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)
+ printf("%s\tannounce capabilities no\n", c);
if (p->announce_type == ANNOUNCE_SELF)
printf("%s\tannounce self\n", c);
else if (p->announce_type == ANNOUNCE_NONE)