gre: fix returning the flags in the API

Type: fix

Signed-off-by: Ivan Shvedunov <ivan4th@gmail.com>
Change-Id: I5ecfb242e5905c9bd8ce19cd9ab6efd657ee14d4
This commit is contained in:
Ivan Shvedunov
2022-07-05 15:13:35 +04:00
committed by Neale Ranns
parent ac199fcd9b
commit 55050c31c2

View File

@@ -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);