Made last Pavel's changes compile.
This commit is contained in:
parent
0a40e97328
commit
c8f685cb9d
2 changed files with 2 additions and 2 deletions
|
@ -315,7 +315,7 @@ bgp_path_prepend(struct linpool *pool, eattr *a, ea_list *old, int as)
|
||||||
e->attrs[0].id = EA_CODE(EAP_BGP, BA_AS_PATH);
|
e->attrs[0].id = EA_CODE(EAP_BGP, BA_AS_PATH);
|
||||||
e->attrs[0].flags = BAF_TRANSITIVE;
|
e->attrs[0].flags = BAF_TRANSITIVE;
|
||||||
e->attrs[0].type = EAF_TYPE_AS_PATH;
|
e->attrs[0].type = EAF_TYPE_AS_PATH;
|
||||||
e->attrs[0].u.ptr = path_prepend(pool, olda, as);
|
e->attrs[0].u.ptr = as_path_prepend(pool, olda, as);
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ int bgp_get_attr(struct eattr *e, byte *buf);
|
||||||
int bgp_rte_better(struct rte *, struct rte *);
|
int bgp_rte_better(struct rte *, struct rte *);
|
||||||
void bgp_rt_notify(struct proto *, struct network *, struct rte *, struct rte *, struct ea_list *);
|
void bgp_rt_notify(struct proto *, struct network *, struct rte *, struct rte *, struct ea_list *);
|
||||||
int bgp_import_control(struct proto *, struct rte **, struct ea_list **, struct linpool *);
|
int bgp_import_control(struct proto *, struct rte **, struct ea_list **, struct linpool *);
|
||||||
struct ea_list *bgp_path_prepend(struct linpool *pool, struct eattr *a, struct ea_list *old, int as);
|
struct adata *as_path_prepend(struct linpool *pool, struct adata *olda, int as);
|
||||||
void bgp_attr_init(struct bgp_proto *);
|
void bgp_attr_init(struct bgp_proto *);
|
||||||
|
|
||||||
/* packets.c */
|
/* packets.c */
|
||||||
|
|
Loading…
Reference in a new issue