mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
Ok, linux compatibility tested.
This commit is contained in:
@@ -106,7 +106,7 @@ bgpq_expander_add_prefix(struct bgpq_expander* b, char* prefix)
|
||||
int
|
||||
bgpq_expanded_macro(char* as, void* udata)
|
||||
{
|
||||
struct bgpq_expander* ex=(struct bgp_expander*)udata;
|
||||
struct bgpq_expander* ex=(struct bgpq_expander*)udata;
|
||||
if(!ex) return 0;
|
||||
bgpq_expander_add_as(ex,as);
|
||||
return 1;
|
||||
@@ -115,7 +115,7 @@ bgpq_expanded_macro(char* as, void* udata)
|
||||
int
|
||||
bgpq_expanded_prefix(char* as, void* udata)
|
||||
{
|
||||
struct bgpq_expander* ex=(struct bgp_expander*)udata;
|
||||
struct bgpq_expander* ex=(struct bgpq_expander*)udata;
|
||||
if(!ex) return 0;
|
||||
bgpq_expander_add_prefix(ex,as);
|
||||
return 1;
|
||||
@@ -124,7 +124,7 @@ bgpq_expanded_prefix(char* as, void* udata)
|
||||
int
|
||||
bgpq_expanded_v6prefix(char* prefix, void* udata)
|
||||
{
|
||||
struct bgpq_expander* ex=(struct bgp_expander*)udata;
|
||||
struct bgpq_expander* ex=(struct bgpq_expander*)udata;
|
||||
if(!ex) return 0;
|
||||
bgpq_expander_add_prefix(ex,prefix);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user