0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Fix bug in AS path matching

This commit is contained in:
Ondrej Zajicek 2008-11-16 11:35:30 +01:00
parent 258d0ad4ca
commit ebacaf6f7b

View File

@ -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;