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 bdd3839..e6fea3a 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" : "");