diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-10-19 10:43:02 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-10-19 10:43:02 +0000 |
commit | da37bf5d2ed2f7b9359bd37281a6f8034032f008 (patch) | |
tree | 37ee430d76f552f1e464dc9176dddab8e74c1b7d | |
parent | 7a0f69aae4c268d4ace9e43362a87d9de5cecf2a (diff) |
tsc tsc tsc, tabs are not always holy
-rw-r--r-- | usr.sbin/bgpd/rde_update.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c index 0b6f835891b..d47461d02ff 100644 --- a/usr.sbin/bgpd/rde_update.c +++ b/usr.sbin/bgpd/rde_update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_update.c,v 1.39 2005/08/10 08:34:06 claudio Exp $ */ +/* $OpenBSD: rde_update.c,v 1.40 2005/10/19 10:43:01 henning Exp $ */ /* * Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> @@ -1043,7 +1043,7 @@ up_dump_mp_reach(u_char *buf, u_int16_t *len, struct rde_peer *peer) datalen += upa->mpattr_len; wpos -= upa->mpattr_len; memcpy(buf + wpos, upa->mpattr, upa->mpattr_len); - + if (datalen > 255) { wpos -= 2; tmp = htons(datalen); |