2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

jsonrpc: Correctly setting the dscp value before reconnect.

In commit b2e18d(No need to restart DB / OVS on changing dscp value.), the
dscp value was wrongly set after the reconnect.

Signed-off-by: Mehak Mahajan <mmahajan@nicira.com>
Reported-by: Ravi Kerur <rkerur@gmail.com>
This commit is contained in:
Mehak Mahajan
2012-06-19 20:13:19 -07:00
parent 8b9a3d50b4
commit cd8fca2ba0

View File

@@ -1059,7 +1059,7 @@ jsonrpc_session_set_dscp(struct jsonrpc_session *s,
uint8_t dscp)
{
if (s->dscp != dscp) {
jsonrpc_session_force_reconnect(s);
s->dscp = dscp;
jsonrpc_session_force_reconnect(s);
}
}