Fix context field position in API definition 02/14202/2
authorOndrej Fabry <ofabry@cisco.com>
Tue, 14 Aug 2018 10:39:40 +0000 (12:39 +0200)
committerOle Trøan <otroan@employees.org>
Tue, 14 Aug 2018 21:16:10 +0000 (21:16 +0000)
- context should be first field for reply messages,
  just like it is for all other 545 replies

Change-Id: Ib291036d3389dbc26c8e9194966d01cab81534aa
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
src/vnet/ip/ip.api
src/vnet/lisp-gpe/lisp_gpe.api

index 4811a34..923249b 100644 (file)
@@ -550,8 +550,8 @@ define ip_unnumbered_dump
 
 define ip_details
 {
-  u32 sw_if_index;
   u32 context;
+  u32 sw_if_index;
   u8 is_ipv6;
 };
 
index 09c1e84..140d1be 100644 (file)
@@ -64,8 +64,8 @@ manual_print manual_endian define gpe_add_del_fwd_entry
 
 define gpe_add_del_fwd_entry_reply
 {
-  i32 retval;
   u32 context;
+  i32 retval;
   u32 fwd_entry_index;
 };