Committed by
Gerrit Code Review
ONOS-2780 Correcting condition logic.
Change-Id: I6f2b466b7acbdeadcf50ff9efaf651e38c732c9f
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -232,7 +232,7 @@ public class ProxyArpManager implements ProxyArpService { | ... | @@ -232,7 +232,7 @@ public class ProxyArpManager implements ProxyArpService { |
232 | } | 232 | } |
233 | } | 233 | } |
234 | 234 | ||
235 | - if (src != null || dst != null) { | 235 | + if (src != null && dst != null) { |
236 | // We know the target host so we can respond | 236 | // We know the target host so we can respond |
237 | buildAndSendNdp(targetAddress, dst.mac(), eth, inPort); | 237 | buildAndSendNdp(targetAddress, dst.mac(), eth, inPort); |
238 | return; | 238 | return; | ... | ... |
-
Please register or login to post a comment