aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-03-02 14:09:58 -0800
committerBen Pfaff <blp@nicira.com>2012-03-02 14:59:16 -0800
commit1d5260da440959adfc1b2be7a4b476e7970bf08d (patch)
tree578c7386e23437ba13b27d50a21d6993a1a68d7f
parent974fbebaa566b729e9eca4ff958e3352930b0080 (diff)
connmgr: Make "enable-async-messages" work for primary controllers too.
I only tested this feature with service controllers. Bug #9964. Reported-by: James Schmidt <jschmidt@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
-rw-r--r--AUTHORS1
-rw-r--r--ofproto/connmgr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 150d1bbf..cf234385 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -89,6 +89,7 @@ Hector Oron hector.oron@gmail.com
Henrik Amren henrik@nicira.com
Jad Naous jnaous@gmail.com
Jamal Hadi Salim hadi@cyberus.ca
+James Schmidt jschmidt@nicira.com
Jan Medved jmedved@juniper.net
Janis Hamme janis.hamme@student.kit.edu
Jari Sundell sundell.software@gmail.com
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 46d6d796..d74cbb35 100644
--- a/ofproto/connmgr.c
+++ b/ofproto/connmgr.c
@@ -978,6 +978,7 @@ ofconn_reconfigure(struct ofconn *ofconn, const struct ofproto_controller *c)
int probe_interval;
ofconn->band = c->band;
+ ofconn->enable_async_msgs = c->enable_async_msgs;
rconn_set_max_backoff(ofconn->rconn, c->max_backoff);