misc: move to new pool_foreach macros
[vpp.git] / src / plugins / wireguard / wireguard_if.c
index 3c59407..f7eb5a1 100644 (file)
@@ -373,11 +373,11 @@ wg_if_walk (wg_if_walk_cb_t fn, void *data)
   index_t wgii;
 
   /* *INDENT-OFF* */
-  pool_foreach_index (wgii, wg_if_pool,
+  pool_foreach_index (wgii, wg_if_pool)
   {
     if (WALK_STOP == fn(wgii, data))
       break;
-  });
+  }
   /* *INDENT-ON* */
 }