CFM: Revert default MA and MD name.
authorEthan Jackson <ethan@nicira.com>
Thu, 26 May 2011 01:23:31 +0000 (18:23 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 26 May 2011 18:05:00 +0000 (11:05 -0700)
Commit 84c5d450 "cfm: No longer allow configuration of ma_name and
md_name." changed the default MA and MD name for no reason.  This
could add needless complexity to situations where OVS instances
built before and after this commit need to speak CFM to each other.
This commit reverts to the old values.

lib/cfm.c

index ce48691..e56ccab 100644 (file)
--- a/lib/cfm.c
+++ b/lib/cfm.c
@@ -100,8 +100,8 @@ static void cfm_unixctl_show(struct unixctl_conn *, const char *args,
 static void
 cfm_generate_maid(struct cfm *cfm)
 {
-    const char *ovs_md_name = "ovs_md";
-    const char *ovs_ma_name = "ovs_ma";
+    const char *ovs_md_name = "ovs";
+    const char *ovs_ma_name = "ovs";
     uint8_t *ma_p;
     size_t md_len, ma_len;