diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-06-28 11:46:06 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-06-28 11:46:06 +0000 |
commit | 0d012e491d84f6dbb71db4f1a6fc6b343a15ff5a (patch) | |
tree | f8348e81f98dc4e83f27204795debe591e307301 /usr.sbin/bgpd | |
parent | 7e517719d3d9bacca2bc613c286ff4de9f5537cf (diff) |
The default state of enhanced refresh is no. So flip logic.
Fixes config regress. Found by anton@, discussed with tb@
Diffstat (limited to 'usr.sbin/bgpd')
-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 6ec6205c4ac..e707185b5b7 100644 --- a/usr.sbin/bgpd/printconf.c +++ b/usr.sbin/bgpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.154 2022/06/27 13:26:51 claudio Exp $ */ +/* $OpenBSD: printconf.c,v 1.155 2022/06/28 11:46:05 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -782,8 +782,8 @@ print_announce(struct peer_config *p, const char *c) if (p->capabilities.refresh == 0) printf("%s\tannounce refresh no\n", c); - if (p->capabilities.enhanced_rr == 0) - printf("%s\tannounce enhanced refresh no\n", c); + if (p->capabilities.enhanced_rr == 1) + printf("%s\tannounce enhanced refresh yes\n", c); if (p->capabilities.grestart.restart == 0) printf("%s\tannounce restart no\n", c); if (p->capabilities.as4byte == 0) |