mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 12:16:13 +02:00
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:
parent
fef5c664ca
commit
fe611e4127
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user