diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2008-11-16 11:35:30 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2008-11-16 11:35:30 +0100 |
commit | ebacaf6f7b4418dd283fd3e39b84e48e331a6a66 (patch) | |
tree | ca116a6eeb0335c115d06ae49cb799a64e7558ef /nest/a-path.c | |
parent | 258d0ad4ca550895a1ef20fc478c0160be5374f2 (diff) |
Fix bug in AS path matching
Diffstat (limited to 'nest/a-path.c')
-rw-r--r-- | nest/a-path.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/a-path.c b/nest/a-path.c index 5e3ecfd4..ad9780c7 100644 --- a/nest/a-path.c +++ b/nest/a-path.c @@ -333,6 +333,7 @@ as_path_match(struct adata *path, struct f_path_mask *mask) case AS_PATH_SEQUENCE: len = *p++; for (i=0; i<len; i++) { + next = p + bs; as = get_as(p); if (asterisk && (as == mask->val)) MASK_PLUS; |