mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 16:48:43 +00:00
Fix bug in AS path matching
This commit is contained in:
parent
258d0ad4ca
commit
ebacaf6f7b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user