summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-12 14:14:47 +0000
committerMartin Mares <mj@ucw.cz>2000-04-12 14:14:47 +0000
commitc8f685cb9d88e447d6057f92bcbb1e0df441ca35 (patch)
tree29e6111bbb42f68d35c058bb2767857e771cd859 /proto/bgp
parent0a40e97328180576577da26a5ce8933f616d84f1 (diff)
Made last Pavel's changes compile.
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/attrs.c2
-rw-r--r--proto/bgp/bgp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 41f06447..dc747707 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -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].flags = BAF_TRANSITIVE;
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;
}
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 965196bb..d0d2523f 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -96,7 +96,7 @@ int bgp_get_attr(struct eattr *e, byte *buf);
int bgp_rte_better(struct rte *, struct rte *);
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 *);
-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 *);
/* packets.c */