Bug 7547 : Ping from DC-GW to invisible ip configured in VM is failing 86/50486/2
authorehvkand <hanamantagoud.v.kandagal@ericsson.com>
Mon, 16 Jan 2017 09:11:20 +0000 (14:41 +0530)
committerSam Hague <shague@redhat.com>
Mon, 16 Jan 2017 19:58:56 +0000 (19:58 +0000)
Change-Id: Iba7869b3ccbaf3f5921c9f705628444aca630996
Signed-off-by: ehvkand <hanamantagoud.v.kandagal@ericsson.com>
vpnservice/vpnmanager/vpnmanager-impl/src/main/java/org/opendaylight/netvirt/vpnmanager/ArpNotificationHandler.java

index 5e883156927389f092457de73a0cd043d0faf73b..82e4aac45a0c2e850914423e4fcfcefcf1e83b8b 100644 (file)
@@ -196,7 +196,7 @@ public class ArpNotificationHandler implements OdlArputilListener {
                     String nextHopIp = nextHopIpAddr.split("/")[0];
                     AdjacencyBuilder newAdjBuilder = new AdjacencyBuilder().setIpAddress(ip).setKey
                             (new AdjacencyKey(ip)).setNextHopIpList(Arrays.asList(nextHopIp));
-                    if (mipMacAddress != null && !mipMacAddress.equals(nextHopMacAddress)) {
+                    if (mipMacAddress != null && !mipMacAddress.equalsIgnoreCase(nextHopMacAddress)) {
                         newAdjBuilder.setMacAddress(mipMacAddress);
                     }
                     adjacencyList.add(newAdjBuilder.build());