summaryrefslogtreecommitdiffstats
path: root/proto/bgp/attrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 41f0644..dc74770 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;
}