cfm: Show extended mode in cfm/show appctl command.
authorEthan Jackson <ethan@nicira.com>
Sun, 9 Oct 2011 22:03:53 +0000 (15:03 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 11 Oct 2011 23:48:23 +0000 (16:48 -0700)
lib/cfm.c

index bdd3839c40025b34432705459dcff0983a4c1dbd..e6fea3a60409dabb9f3013c9b738e38e72b0191b 100644 (file)
--- a/lib/cfm.c
+++ b/lib/cfm.c
@@ -532,7 +532,8 @@ cfm_print_details(struct ds *ds, const struct cfm *cfm)
     struct remote_mp *rmp;
 
     ds_put_format(ds, "---- %s ----\n", cfm->name);
-    ds_put_format(ds, "MPID %"PRIu64":%s%s\n", cfm->mpid,
+    ds_put_format(ds, "MPID %"PRIu64":%s%s%s\n", cfm->mpid,
+                  cfm->extended ? " extended" : "",
                   cfm->fault ? " fault" : "",
                   cfm->unexpected_recv ? " unexpected_recv" : "");