Bug-5922: inbound IPv6 connection fails if address has zero groups in it 58/44658/1
authorAjay <ajayl.bro@gmail.com>
Thu, 25 Aug 2016 03:10:34 +0000 (03:10 +0000)
committerMilos Fabian <milfabia@cisco.com>
Thu, 25 Aug 2016 11:32:34 +0000 (11:32 +0000)
commit8386b0654af8d3329315fc0ff17837af556292db
treeccfd8f232535f068e366563631f05755eb5bd498
parentefba83b67ddbb7fe2fe054907a1fe0fb8f96ed0a
Bug-5922: inbound IPv6 connection fails if address has zero groups in it
- Convert the remote IPv6 address to normalized notation (full-form and leading 0s removed)
  so that comparision with configured BGP Peer address works
- BGP Peer address is converted to this form in BGPPeerModule#getNormalizedHost

Change-Id: I9ce0b5a925a0599e7cca52adf2ec2f2a331026c5
Signed-off-by: Ajay <ajayl.bro@gmail.com>
(cherry picked from commit 2074c9147bd3eed95865de32ad6531993423acd3)
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/AbstractBGPSessionNegotiator.java