commit | 1b5c5fadfec270b9ff1ae456a479e746ddfbdb1e | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Wed Apr 24 13:51:28 2019 +0900 |
committer | Jian Li <pyguni@gmail.com> | Thu Apr 25 17:49:58 2019 +0900 |
tree | 4872bfd42212747d15b9215a18c703b5965dba5f | |
parent | efb6cc53df699e2e9efb8ccfd96af0d539f918be [diff] |
Fix: specify the source MAC as fake GW MAC for self ARP reply case Change-Id: Ie59ca9143267da6737a3b18fdcfa53c54caea1f9
diff --git a/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java b/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java index feb06cc..3b805e8 100644 --- a/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java +++ b/apps/openstacknetworking/app/src/main/java/org/onosproject/openstacknetworking/impl/OpenstackSwitchingArpHandler.java
@@ -357,6 +357,7 @@ .setArpOp(ARP.OP_REPLY) .setArpSha(MacAddress.valueOf(gatewayMac)) .setArpSpa(Ip4Address.valueOf(gateway)) + .setEthSrc(MacAddress.valueOf(gatewayMac)) .setOutput(PortNumber.IN_PORT); osFlowRuleService.setRule(