summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-08-27 16:57:20 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-08-27 16:57:20 +0000
commit4348d4abc4547f7099cb23d8a207f645b051fb44 (patch)
treecf05b8cbbd69d1de55475e31c318d4ca7047c9a3 /usr.sbin/bgpd/session.c
parent8e348635a9f1cf593f640d0a9b7be6dcdec07dc6 (diff)
in the restart capability (that we do not actually send yet), set the
MSB in the first byte, not the LSB to indicate the peer must not wait before sending us updates
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r--usr.sbin/bgpd/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 6406a2a9205..f22b93f87cf 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.261 2006/08/27 16:19:18 henning Exp $ */
+/* $OpenBSD: session.c,v 1.262 2006/08/27 16:57:19 henning Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -1341,7 +1341,7 @@ session_open(struct peer *p)
u_char c[4];
bzero(&c, 4);
- c[0] = 0x01;
+ c[0] = 0x80;
errs += buf_add(opb, &c, 4);
optparamlen += op_len;
}