connmgr: Make "enable-async-messages" work for primary controllers too.
authorBen Pfaff <blp@nicira.com>
Fri, 2 Mar 2012 22:09:58 +0000 (14:09 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 2 Mar 2012 22:58:44 +0000 (14:58 -0800)
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>
AUTHORS
ofproto/connmgr.c

diff --git a/AUTHORS b/AUTHORS
index 6a83514bc8f304179331e6f08972e5cf5637463d..cdf6ce6e1b47c2679e50fbdea3f2d411266b7187 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -95,6 +95,7 @@ Henrik Amren            henrik@nicira.com
 Jacob Cherkas           jcherkas@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
index 69534c3d6935c3ba05bbed77d38931b9544bca3d..c820ad5d34c4f98672752fc58596084f57e8d804 100644 (file)
@@ -1087,6 +1087,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);