aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-04-11 14:00:58 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-04-11 23:07:57 +0000
commitd89b60491c336172ad07bbcd55bf0ca4fab3d16a (patch)
tree4e6814008de6a7769bc6fa6bbc9ab882c7bb2635 /src/vnet/lisp-cp
parent5c6c4bfd64722a9a2d410a3e58a817721a083702 (diff)
LISP: show mapping negative action in CLI
Change-Id: I26087cbde40cc5f2f1cb501ca6e791292e02badf Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp')
-rw-r--r--src/vnet/lisp-cp/one_cli.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/lisp-cp/one_cli.c b/src/vnet/lisp-cp/one_cli.c
index f15558ee8af..4b1a1cc3633 100644
--- a/src/vnet/lisp-cp/one_cli.c
+++ b/src/vnet/lisp-cp/one_cli.c
@@ -750,8 +750,9 @@ format_eid_entry (u8 * s, va_list * args)
if (vec_len (ls->locator_indices) == 0)
{
- s = format (s, "%-35U%-30s%-20u%-u", format_gid_address, gid,
- type, ttl, aut);
+ s = format (s, "%-35U%-20saction:%-30U%-20u%-u", format_gid_address,
+ gid, type, format_negative_mapping_action, mapit->action,
+ ttl, aut);
}
else
{