Fix bug in AS path matching
This commit is contained in:
parent
258d0ad4ca
commit
ebacaf6f7b
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ as_path_match(struct adata *path, struct f_path_mask *mask)
|
||||||
case AS_PATH_SEQUENCE:
|
case AS_PATH_SEQUENCE:
|
||||||
len = *p++;
|
len = *p++;
|
||||||
for (i=0; i<len; i++) {
|
for (i=0; i<len; i++) {
|
||||||
|
next = p + bs;
|
||||||
as = get_as(p);
|
as = get_as(p);
|
||||||
if (asterisk && (as == mask->val))
|
if (asterisk && (as == mask->val))
|
||||||
MASK_PLUS;
|
MASK_PLUS;
|
||||||
|
|
Loading…
Reference in a new issue