VPP-382: Add ipsec tunnel interface to sw_interface_dump
[vpp.git] / vpp-api-test / vat / api_format.c
index 3c65d78..128ba40 100644 (file)
@@ -4371,6 +4371,12 @@ api_sw_interface_dump (vat_main_t * vam)
           sizeof (mp->name_filter) - 1);
   S;
 
+  /* and IPSEC tunnel interfaces */
+  M (SW_INTERFACE_DUMP, sw_interface_dump);
+  mp->name_filter_valid = 1;
+  strncpy ((char *) mp->name_filter, "ipsec", sizeof (mp->name_filter) - 1);
+  S;
+
   /* Use a control ping for synchronization */
   {
     vl_api_control_ping_t *mp;