VPP-242: Fix wrong checking of LISP Proxy-ITR mode
[vpp.git] / vpp / vpp-api / api.c
index 6315534..bed280a 100644 (file)
@@ -5994,7 +5994,7 @@ vl_api_show_lisp_pitr_t_handler (vl_api_show_lisp_pitr_t * mp)
       return;
     }
 
-  if (~0 == lcm->pitr_map_index)
+  if (!lcm->lisp_pitr)
     {
       tmp_str = format (0, "N/A");
     }