mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
fix ipv6 prefix-ranges.
This commit is contained in:
@@ -305,7 +305,11 @@ int
|
||||
bgpq_expanded_v6prefix(char* prefix, struct bgpq_expander* ex,
|
||||
struct bgpq_request* req)
|
||||
{
|
||||
bgpq_expander_add_prefix(ex,prefix);
|
||||
char* d = strchr(prefix, '^');
|
||||
if (!d)
|
||||
bgpq_expander_add_prefix(ex,prefix);
|
||||
else
|
||||
bgpq_expander_add_prefix_range(ex,prefix);
|
||||
return 1;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user