gre: fix returning the flags in the API
[vpp.git] / src / vnet / gre / gre_api.c
index 3b42c76..59a1d3d 100644 (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);