Avoid installing ARP packet requests in ReactiveForwarding

The same packet request is installed by proxyarp which is needed by
reactive forwarding to work.

Change-Id: I2c92e8e3eb8eb2515585fbfbcb2633cae9bf0777
This commit is contained in:
Carmelo Cascone 2018-04-11 13:46:25 -07:00 committed by Thomas Vachuska
parent fef5c664ca
commit fe611e4127

View File

@ -259,8 +259,6 @@ public class ReactiveForwarding {
TrafficSelector.Builder selector = DefaultTrafficSelector.builder();
selector.matchEthType(Ethernet.TYPE_IPV4);
packetService.requestPackets(selector.build(), PacketPriority.REACTIVE, appId);
selector.matchEthType(Ethernet.TYPE_ARP);
packetService.requestPackets(selector.build(), PacketPriority.REACTIVE, appId);
selector.matchEthType(Ethernet.TYPE_IPV6);
if (ipv6Forwarding) {
@ -277,8 +275,6 @@ public class ReactiveForwarding {
TrafficSelector.Builder selector = DefaultTrafficSelector.builder();
selector.matchEthType(Ethernet.TYPE_IPV4);
packetService.cancelPackets(selector.build(), PacketPriority.REACTIVE, appId);
selector.matchEthType(Ethernet.TYPE_ARP);
packetService.cancelPackets(selector.build(), PacketPriority.REACTIVE, appId);
selector.matchEthType(Ethernet.TYPE_IPV6);
packetService.cancelPackets(selector.build(), PacketPriority.REACTIVE, appId);
}