aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2016-08-06 11:32:19 +0200
committerFilip Tehlar <ftehlar@cisco.com>2016-08-06 11:34:49 +0200
commitf2421e19fc17ec2472092cbdae24f101e99aeb79 (patch)
tree1b8206c2f3a9853c4ffa265ae05324441172bc3d
parenta8d77eda738855480c3028664028c7a448d52424 (diff)
VPP-242: Fix wrong checking of LISP Proxy-ITR mode
Change-Id: I89c9e52ecf0d053a278a78e57c9e589798b4cb7f Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
-rw-r--r--vpp/vpp-api/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c
index 6315534e..bed280a1 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");
}