summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2012-09-23 09:39:19 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2012-09-23 09:39:19 +0000
commit2c725639fbf3fbc5db690be9a0af259c52b534b5 (patch)
tree6d329db559e3c61f16f46ff86c7e9ae66f4df98b /usr.sbin/bgpd/parse.y
parent0c536b86bbb7f9bedc14c71f4ffea5942638de3d (diff)
Enable graceful restart by default. The only way to find out if it works for
real. After discussion with sthen@, henning@ and deraadt@. It can be disabled per neighbor with "announce restart no".
Diffstat (limited to 'usr.sbin/bgpd/parse.y')
-rw-r--r--usr.sbin/bgpd/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 108e1ff8c18..1099ef26833 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.263 2012/09/12 05:56:22 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.264 2012/09/23 09:39:17 claudio Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -3019,7 +3019,7 @@ alloc_peer(void)
for (i = 0; i < AID_MAX; i++)
p->conf.capabilities.mp[i] = -1;
p->conf.capabilities.refresh = 1;
- p->conf.capabilities.grestart.restart = 0;
+ p->conf.capabilities.grestart.restart = 1;
p->conf.capabilities.as4byte = 1;
p->conf.local_as = conf->as;
p->conf.local_short_as = conf->short_as;