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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user