summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-27 17:41:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-27 17:41:35 +0000
commit3fd98b3b1027bc45b04855550bc44e05c0a9e95d (patch)
treec17fb4a7d5c3b56a137df265de121f2405f302b9
parentd935effe1ab282e6b24402d685fc02dc089f85ea (diff)
unbreak^2
-rw-r--r--usr.sbin/bgpd/session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 9e23aa9dfb7..35dc2b1b42e 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.156 2004/04/27 17:25:52 henning Exp $ */
+/* $OpenBSD: session.c,v 1.157 2004/04/27 17:41:34 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -980,6 +980,7 @@ session_open(struct peer *p)
op_len += 6; /* 1 code + 1 len + 4 data */
/* route refresh, RFC 2918 */
+ op_len += 2; /* 1 code + 1 len, no data */
if (op_len > 0)
optparamlen = sizeof(op_type) + sizeof(op_len) + op_len;