summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-05-13 16:53:24 -0700
committerEthan Jackson <ethan@nicira.com>2011-05-20 15:53:28 -0700
commit9ac3fce4d5aea7e963439eb97f7c2d157aef4dfc (patch)
tree79e3beaeca613b5b46f9e3a81e6757cd5fa05d76 /ofproto
parentc8544aa15f8811e9d6329d4a5e612ff7acb926c9 (diff)
downloadopenvswitch-9ac3fce4d5aea7e963439eb97f7c2d157aef4dfc.tar.gz
cfm: Migrate cfm/show unixctl command to CFM module.
This patch moves the cfm/show unixctl show command from the bridge to the CFM module. This is more in line with how LACP does it, and will make future patches easier to implement.
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/ofproto-dpif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index d3cb92b91..5807c5647 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -750,6 +750,7 @@ set_cfm(struct ofport *ofport_, const struct cfm *cfm,
ofport->cfm->mpid = cfm->mpid;
ofport->cfm->interval = cfm->interval;
+ ofport->cfm->name = cfm->name;
memcpy(ofport->cfm->maid, cfm->maid, CCM_MAID_LEN);
cfm_update_remote_mps(ofport->cfm, remote_mps, n_remote_mps);