ONOS-3088 fix - exlude package processing for non-ARP or non-IPV6 packages
Change-Id: I24c942e017f36dd6dd9fca2c37e77cdcb328e21d
Showing
1 changed file
with
4 additions
and
0 deletions
... | @@ -231,6 +231,10 @@ public class ProxyArp { | ... | @@ -231,6 +231,10 @@ public class ProxyArp { |
231 | } | 231 | } |
232 | } | 232 | } |
233 | 233 | ||
234 | + if (ethPkt.getEtherType() != TYPE_ARP && ethPkt.getEtherType() != TYPE_IPV6) { | ||
235 | + return; | ||
236 | + } | ||
237 | + | ||
234 | //handle the arp packet. | 238 | //handle the arp packet. |
235 | proxyArpService.handlePacket(context); | 239 | proxyArpService.handlePacket(context); |
236 | } | 240 | } | ... | ... |
-
Please register or login to post a comment