secchan: In ofproto_set_controller(), only reconnect if controller really changed.
authorBen Pfaff <blp@nicira.com>
Tue, 10 Mar 2009 23:54:00 +0000 (16:54 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 10 Mar 2009 23:54:21 +0000 (16:54 -0700)
commite87f74d6ea6e3b9381818bc59f4d2abf5a0a2185
tree9d4b7dd0c02b0951c82edf839fdc54a7117d6fee
parent5ee82592f53994ba967c5f3a0210d88af59a7a7b
secchan: In ofproto_set_controller(), only reconnect if controller really changed.

The vswitchd bridge code tries not to call this function if it doesn't
have to, but it's not doing a good job.  We should fix it in vswitchd, but
it's also a good idea to do it here.
secchan/ofproto.c