From: Filip Tehlar Date: Sat, 6 Aug 2016 09:32:19 +0000 (+0200) Subject: VPP-242: Fix wrong checking of LISP Proxy-ITR mode X-Git-Tag: v16.09-rc1~72 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=f2421e19fc17ec2472092cbdae24f101e99aeb79 VPP-242: Fix wrong checking of LISP Proxy-ITR mode Change-Id: I89c9e52ecf0d053a278a78e57c9e589798b4cb7f Signed-off-by: Filip Tehlar --- diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c index 6315534e313..bed280a1e61 100644 --- a/vpp/vpp-api/api.c +++ b/vpp/vpp-api/api.c @@ -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"); }