Bug 5466 - GatewayMacResolver Broken
authorAndre Fredette <afredette@redhat.com>
Tue, 8 Mar 2016 15:22:23 +0000 (10:22 -0500)
committerAndre Fredette <afredette@redhat.com>
Tue, 8 Mar 2016 15:22:23 +0000 (10:22 -0500)
commit6f318a40cf4737f7aa851a2dadcef3e7a2103ca1
tree09f215439f2bfa4eeeae3bc682665deb73b4d1f6
parentd1dddbbdabf8abf1106b276e85cd3709906fcd3e
Bug 5466 - GatewayMacResolver Broken

"nIP.getIpAddress().getBytes()" returns a byte representation of the
literal IP address string. The current method needs is a byte
representation of the IP address represented by the string.

The solution is to use the InetAddress.getByName method that takes an
IP address string directly.

Change-Id: I99dd335d433125af1d7d5a0b88e377d6a1bfd62f
Signed-off-by: Andre Fredette <afredette@redhat.com>
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/NeutronL3Adapter.java