summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nest/a-path.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/a-path.c b/nest/a-path.c
index 5e3ecfd..ad9780c 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;