From: Ivan Shvedunov Date: Tue, 5 Jul 2022 11:13:35 +0000 (+0400) Subject: gre: fix returning the flags in the API X-Git-Tag: v23.02-rc0~153 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=55050c31c250679eb2aadf9b0d06fd08812b0a9d;p=vpp.git gre: fix returning the flags in the API Type: fix Signed-off-by: Ivan Shvedunov Change-Id: I5ecfb242e5905c9bd8ce19cd9ab6efd657ee14d4 --- 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);