aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorIvan Shvedunov <ivan.shvedunov@travelping.com>2022-07-05 15:13:35 +0400
committerNeale Ranns <neale@graphiant.com>2022-07-06 01:46:35 +0000
commit55050c31c250679eb2aadf9b0d06fd08812b0a9d (patch)
tree72088ebef4a8509e5fa10b35e0b98ee6a1ed3a75 /src/vnet
parentac199fcd9ba16a9dc3657f8ee02c2a2c82a65417 (diff)
gre: fix returning the flags in the API
Type: fix Signed-off-by: Ivan Shvedunov <ivan4th@gmail.com> Change-Id: I5ecfb242e5905c9bd8ce19cd9ab6efd657ee14d4
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/gre/gre_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/gre/gre_api.c b/src/vnet/gre/gre_api.c
index 3b42c76fb12..59a1d3d738d 100644
--- a/src/vnet/gre/gre_api.c
+++ b/src/vnet/gre/gre_api.c
@@ -143,6 +143,7 @@ static void send_gre_tunnel_details
rmp->tunnel.type = gre_tunnel_type_encode (t->type);
rmp->tunnel.mode = tunnel_mode_encode (t->mode);
+ rmp->tunnel.flags = tunnel_encap_decap_flags_encode (t->flags);
rmp->tunnel.instance = htonl (t->user_instance);
rmp->tunnel.sw_if_index = htonl (t->sw_if_index);
rmp->tunnel.session_id = htons (t->session_id);