aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2018-08-14 12:39:40 +0200
committerOle Trøan <otroan@employees.org>2018-08-14 21:16:10 +0000
commitb11f903ae8824568c5e1bf8312dcf83c7b58b5ee (patch)
treedc5698752fc6b8f776e60f8123bd263545e4935d /src/vnet
parente3248989586ade29baba635aae66b06995917221 (diff)
Fix context field position in API definition
- 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>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/ip/ip.api2
-rw-r--r--src/vnet/lisp-gpe/lisp_gpe.api2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ip/ip.api b/src/vnet/ip/ip.api
index 4811a349d38..923249b8365 100644
--- a/src/vnet/ip/ip.api
+++ b/src/vnet/ip/ip.api
@@ -550,8 +550,8 @@ define ip_unnumbered_dump
define ip_details
{
- u32 sw_if_index;
u32 context;
+ u32 sw_if_index;
u8 is_ipv6;
};
diff --git a/src/vnet/lisp-gpe/lisp_gpe.api b/src/vnet/lisp-gpe/lisp_gpe.api
index 09c1e846bfb..140d1bec8d7 100644
--- a/src/vnet/lisp-gpe/lisp_gpe.api
+++ b/src/vnet/lisp-gpe/lisp_gpe.api
@@ -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;
};