From 75761b933f3e28494bae4b2cf5636a07ffe6ce18 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Wed, 11 Sep 2019 17:49:08 +0200 Subject: api: split vl_api_prefix into two One type for address with prefix and one type for prefix. Type: fix Signed-off-by: Ole Troan Change-Id: Icfec51d9b7d5cde1d69fbecdd97498688ab7b295 Signed-off-by: Ole Troan Signed-off-by: Klement Sekera Signed-off-by: Ole Troan --- src/plugins/lb/lb.api | 10 +++++----- src/plugins/lb/lb_types.api | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/plugins/lb') diff --git a/src/plugins/lb/lb.api b/src/plugins/lb/lb.api index 867832df966..b9f5c22126a 100644 --- a/src/plugins/lb/lb.api +++ b/src/plugins/lb/lb.api @@ -39,7 +39,7 @@ autoreply manual_print define lb_conf autoreply manual_print define lb_add_del_vip { u32 client_index; u32 context; - vl_api_prefix_t pfx; + vl_api_address_with_prefix_t pfx; u8 protocol [default=255]; u16 port; vl_api_lb_encap_type_t encap; @@ -64,7 +64,7 @@ autoreply manual_print define lb_add_del_vip { autoreply manual_print define lb_add_del_as { u32 client_index; u32 context; - vl_api_prefix_t pfx; + vl_api_address_with_prefix_t pfx; u8 protocol [default=255]; u16 port; vl_api_address_t as_address; @@ -82,7 +82,7 @@ autoreply manual_print define lb_add_del_as { autoreply manual_print define lb_flush_vip { u32 client_index; u32 context; - vl_api_prefix_t pfx; + vl_api_address_with_prefix_t pfx; u8 protocol; u16 port; }; @@ -94,7 +94,7 @@ autoreply manual_print define lb_flush_vip { define lb_vip_dump{ u32 client_index; u32 context; - vl_api_prefix_t pfx; + vl_api_address_with_prefix_t pfx; vl_api_prefix_matcher_t pfx_matcher; u8 protocol [default=255]; u16 port; @@ -126,7 +126,7 @@ define lb_as_dump{ u32 client_index; u32 context; /* vip */ - vl_api_prefix_t pfx; + vl_api_address_with_prefix_t pfx; u8 protocol; u16 port; }; diff --git a/src/plugins/lb/lb_types.api b/src/plugins/lb/lb_types.api index e01db5dd16c..cadd2b033f2 100644 --- a/src/plugins/lb/lb_types.api +++ b/src/plugins/lb/lb_types.api @@ -67,7 +67,7 @@ enum lb_nat_protocol */ typedef lb_vip { - vl_api_prefix_t pfx; + vl_api_address_with_prefix_t pfx; vl_api_ip_proto_t protocol; u16 port; }; -- cgit 1.2.3-korg