From e3e4ede983fd59e765e1bd43c53789dc6549860d Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Fri, 12 Mar 2004 20:57:23 +0000 Subject: print that capabilities stuff --- usr.sbin/bgpd/printconf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bgpd') 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 @@ -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) -- cgit v1.2.3