mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
Bugfix: Only reads the replyRecord when map data present bit is set
Change-Id: Id4bd28c1bd4f8ad7a6e92f8812cff0f1e66a2048
This commit is contained in:
parent
b471f2c7b6
commit
af72941251
@ -375,7 +375,12 @@ public final class DefaultLispMapRequest extends AbstractLispMessage
|
|||||||
}
|
}
|
||||||
|
|
||||||
// reply record -> 32 bits
|
// reply record -> 32 bits
|
||||||
int replyRecord = byteBuf.readInt();
|
int replyRecord = 0;
|
||||||
|
|
||||||
|
// only obtains the reply record when map data present bit is set
|
||||||
|
if (mapDataPresent) {
|
||||||
|
replyRecord = byteBuf.readInt();
|
||||||
|
}
|
||||||
|
|
||||||
return new DefaultRequestBuilder()
|
return new DefaultRequestBuilder()
|
||||||
.withIsAuthoritative(authoritative)
|
.withIsAuthoritative(authoritative)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user