aboutsummaryrefslogtreecommitdiffstats
path: root/src/vat/api_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vat/api_format.c')
-rw-r--r--src/vat/api_format.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index 924d9c60290..e362672bbb2 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -12651,7 +12651,7 @@ api_gre_tunnel_add_del (vat_main_t * vam)
u8 is_add = 1;
u8 src_set = 0;
u8 dst_set = 0;
- u32 outer_fib_id = 0;
+ u32 outer_table_id = 0;
u32 session_id = 0;
u32 instance = ~0;
int ret;
@@ -12672,7 +12672,7 @@ api_gre_tunnel_add_del (vat_main_t * vam)
{
dst_set = 1;
}
- else if (unformat (line_input, "outer-fib-id %d", &outer_fib_id))
+ else if (unformat (line_input, "outer-table-id %d", &outer_table_id))
;
else if (unformat (line_input, "teb"))
t_type = GRE_API_TUNNEL_TYPE_TEB;
@@ -12702,7 +12702,7 @@ api_gre_tunnel_add_del (vat_main_t * vam)
clib_memcpy (&mp->tunnel.dst, &dst, sizeof (mp->tunnel.dst));
mp->tunnel.instance = htonl (instance);
- mp->tunnel.outer_fib_id = htonl (outer_fib_id);
+ mp->tunnel.outer_table_id = htonl (outer_table_id);
mp->is_add = is_add;
mp->tunnel.session_id = htons ((u16) session_id);
mp->tunnel.type = htonl (t_type);
@@ -12722,7 +12722,7 @@ static void vl_api_gre_tunnel_details_t_handler
ntohl (mp->tunnel.instance),
format_vl_api_address, &mp->tunnel.src,
format_vl_api_address, &mp->tunnel.dst,
- mp->tunnel.type, ntohl (mp->tunnel.outer_fib_id),
+ mp->tunnel.type, ntohl (mp->tunnel.outer_table_id),
ntohl (mp->tunnel.session_id));
}
@@ -12747,8 +12747,8 @@ static void vl_api_gre_tunnel_details_t_handler_json
vat_json_object_add_address (node, "src", &mp->tunnel.src);
vat_json_object_add_address (node, "dst", &mp->tunnel.dst);
vat_json_object_add_uint (node, "tunnel_type", mp->tunnel.type);
- vat_json_object_add_uint (node, "outer_fib_id",
- ntohl (mp->tunnel.outer_fib_id));
+ vat_json_object_add_uint (node, "outer_table_id",
+ ntohl (mp->tunnel.outer_table_id));
vat_json_object_add_uint (node, "session_id", mp->tunnel.session_id);
}