1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Rename as_path_get_last/as_path_get_first to be consistent.

This commit is contained in:
Ondrej Zajicek
2009-10-12 20:44:58 +02:00
parent ea89da381f
commit 52b9b2a178
3 changed files with 9 additions and 9 deletions

View File

@@ -734,7 +734,7 @@ interpret(struct f_inst *what)
runtime( "AS Path expected" );
as = 0;
as_path_get_last(v1.val.ad, &as); /* really last */
as_path_get_first(v1.val.ad, &as);
res.type = T_INT;
res.val.i = as;
break;
@@ -744,7 +744,7 @@ interpret(struct f_inst *what)
runtime( "AS path expected" );
as = 0;
as_path_get_first(v1.val.ad, &as); /* really first */
as_path_get_last(v1.val.ad, &as);
res.type = T_INT;
res.val.i = as;
break;