diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-27 21:44:27 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-27 21:44:27 +0200 |
commit | 987de54578ce4053d737c64ea924a32f46a441a7 (patch) | |
tree | ae77cd4ca5fd05c2dde7aa668e7cc398de56f56c | |
parent | 9165888ad24bdefed6a705219c767558d5091cec (diff) | |
download | bird-987de54578ce4053d737c64ea924a32f46a441a7.tar bird-987de54578ce4053d737c64ea924a32f46a441a7.zip |
Fixed stupid bug in as_path_format().
-rw-r--r-- | nest/a-path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/a-path.c b/nest/a-path.c index e7ff697..3541522 100644 --- a/nest/a-path.c +++ b/nest/a-path.c @@ -44,8 +44,8 @@ void as_path_format(struct adata *path, byte *buf, unsigned int size) { byte *p = path->data; - byte *e = p + path->length - 8; - byte *end = buf + size; + byte *e = p + path->length; + byte *end = buf + size - 8; int sp = 1; int l, type, isset, as; |