diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-10-13 11:41:33 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-10-13 11:41:33 +0000 |
commit | 923c27e857832fe13cbbe2d1bdb24c71a6be60e0 (patch) | |
tree | 26fe7ff8f7570e28a2442b9c11def099790cd278 /usr.sbin | |
parent | 51e24ddd364fedc92a9750ffbcd97a5000c4f6b7 (diff) |
Forgot this bit when disableing restart capability.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c index df22e71f421..346bcfe90ed 100644 --- a/usr.sbin/bgpd/printconf.c +++ b/usr.sbin/bgpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.71 2009/10/06 09:44:13 claudio Exp $ */ +/* $OpenBSD: printconf.c,v 1.72 2009/10/13 11:41:32 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -297,8 +297,8 @@ print_peer(struct peer_config *p, struct bgpd_config *conf, const char *c) printf("%s\tannounce capabilities no\n", c); if (p->capabilities.refresh == 0) printf("%s\tannounce refresh no\n", c); - if (p->capabilities.restart == 0) - printf("%s\tannounce restart no\n", c); + if (p->capabilities.restart == 1) + printf("%s\tannounce restart yes\n", c); if (p->capabilities.as4byte == 0) printf("%s\tannounce as4byte no\n", c); if (p->announce_type == ANNOUNCE_SELF) |