summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vat/api_format.c4
-rw-r--r--src/vnet/ip/ip.api3
-rw-r--r--src/vpp/api/custom_dump.c3
3 files changed, 0 insertions, 10 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index d6af6984467..bc5e9596bba 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -7564,7 +7564,6 @@ api_ip_add_del_route (vat_main_t * vam)
u8 create_vrf_if_needed = 0;
u8 is_add = 1;
u32 next_hop_weight = 1;
- u8 not_last = 0;
u8 is_multipath = 0;
u8 address_set = 0;
u8 address_length_set = 0;
@@ -7648,8 +7647,6 @@ api_ip_add_del_route (vat_main_t * vam)
is_add = 0;
else if (unformat (i, "add"))
is_add = 1;
- else if (unformat (i, "not-last"))
- not_last = 1;
else if (unformat (i, "resolve-via-host"))
resolve_host = 1;
else if (unformat (i, "resolve-via-attached"))
@@ -7758,7 +7755,6 @@ api_ip_add_del_route (vat_main_t * vam)
mp->is_multipath = is_multipath;
mp->is_resolve_host = resolve_host;
mp->is_resolve_attached = resolve_attached;
- mp->not_last = not_last;
mp->next_hop_weight = next_hop_weight;
mp->dst_address_length = dst_address_length;
mp->next_hop_table_id = ntohl (next_hop_table_id);
diff --git a/src/vnet/ip/ip.api b/src/vnet/ip/ip.api
index 8501eb26030..67258ee4fe9 100644
--- a/src/vnet/ip/ip.api
+++ b/src/vnet/ip/ip.api
@@ -374,7 +374,6 @@ autoreply define sw_interface_ip6_set_link_local_address
@param is_source_lookup - The the path is a deaggregate path (i.e. a lookup
in another table) is the lookup on the packet's
source address or destination.
- @param not_last - Is last or not last msg in group of multiple add/del msgs
@param next_hop_weight -
@param dst_address_length -
@param dst_address[16] -
@@ -404,8 +403,6 @@ autoreply define ip_add_del_route
u8 is_resolve_attached;
u8 is_l2_bridged;
u8 is_source_lookup;
- /* Is last/not-last message in group of multiple add/del messages. */
- u8 not_last;
u8 next_hop_weight;
u8 next_hop_preference;
u8 dst_address_length;
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index 46ce0b2659c..c1aa14d5497 100644
--- a/src/vpp/api/custom_dump.c
+++ b/src/vpp/api/custom_dump.c
@@ -586,9 +586,6 @@ static void *vl_api_ip_add_del_route_t_print
if (mp->next_hop_weight != 1)
s = format (s, "weight %d ", mp->next_hop_weight);
- if (mp->not_last)
- s = format (s, "not-last ");
-
if (mp->is_multipath)
s = format (s, "multipath ");