diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-27 17:41:35 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-27 17:41:35 +0000 |
commit | 3fd98b3b1027bc45b04855550bc44e05c0a9e95d (patch) | |
tree | c17fb4a7d5c3b56a137df265de121f2405f302b9 /usr.sbin/bgpd | |
parent | d935effe1ab282e6b24402d685fc02dc089f85ea (diff) |
unbreak^2
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/session.c | 3 |
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; |