mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Fix bug in empty bgp mask handling
This commit is contained in:
parent
e312bb4014
commit
25cb9f1d01
@ -298,6 +298,9 @@ as_path_match(struct adata *path, struct f_path_mask *mask)
|
||||
u8 *next;
|
||||
u32 as;
|
||||
|
||||
if (!mask)
|
||||
return ! path->length;
|
||||
|
||||
asterisk = mask->any;
|
||||
if (asterisk)
|
||||
{ mask = mask->next; if (!mask) return 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user