Make OffsetMap enforce access limit 51/22151/2
authorRobert Varga <rovarga@cisco.com>
Mon, 8 Jun 2015 19:08:31 +0000 (21:08 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 9 Jun 2015 08:54:14 +0000 (08:54 +0000)
commita92988120b84a26ceb4bd39125148af827a48ff6
treeb5678796e618b050aa9355c9dd78d49b33186ab1
parent857a18f5100d1eda9aec9fad05a212d8d5a53c51
Make OffsetMap enforce access limit

getValue()/setValue() should ensure that the offset used is covered by
associated routerIds. Also fixes wrong format strings.

Change-Id: I4fafea959bc550e0bf9a2ec048c35ae63c255235
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 314664ba879180383f7b70d9b51906cdfa194aa3)
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/OffsetMap.java