mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 12:16:13 +02:00
[ONOS-8130] Correct and cosistent access to message-id counter in NetconfSessionMinaImpl
Change-Id: If27435c5ff9e1855696246326243eabe92a20335
This commit is contained in:
parent
de3e6f52c8
commit
fb362174e1
@ -580,7 +580,7 @@ public class NetconfSessionMinaImpl extends AbstractNetconfSession {
|
||||
|
||||
String rpc = request;
|
||||
// - assign message-id
|
||||
int msgId = messageIdInteger.incrementAndGet();
|
||||
int msgId = messageIdInteger.getAndIncrement();
|
||||
// - re-write request to insert message-id
|
||||
// FIXME avoid using formatRequestMessageId
|
||||
rpc = formatRequestMessageId(rpc, msgId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user