diff options
author | Mehak Mahajan <mmahajan@nicira.com> | 2012-06-19 20:13:19 -0700 |
---|---|---|
committer | Mehak Mahajan <mmahajan@nicira.com> | 2012-06-19 20:13:19 -0700 |
commit | cd8fca2ba0a7d036da069a4484d501bdc7a6f611 (patch) | |
tree | c2dfd4596748def45cfb1f3debc6abf60e0f3677 /lib/jsonrpc.c | |
parent | 8b9a3d50b433c7fbed7b31b3d6f2bda966440b41 (diff) |
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>
Diffstat (limited to 'lib/jsonrpc.c')
-rw-r--r-- | lib/jsonrpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c index ce5d2b4b..4870da84 100644 --- a/lib/jsonrpc.c +++ b/lib/jsonrpc.c @@ -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); } } |