Committed by
Gerrit Code Review
MCastFwdReviewFix
Change-Id: I2d6ae7d19bef15fbffa6683ad74301804bcf6328
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -168,7 +168,7 @@ public class McastForwarding { | ... | @@ -168,7 +168,7 @@ public class McastForwarding { |
| 168 | * ingress port would be a specific device. | 168 | * ingress port would be a specific device. |
| 169 | */ | 169 | */ |
| 170 | McastRoute entry = mrib.findBestMatch(spfx, gpfx); | 170 | McastRoute entry = mrib.findBestMatch(spfx, gpfx); |
| 171 | - if (entry == null || entry.getSaddr().equals(IPv4.fromIPv4Address(0))) { | 171 | + if (entry == null || entry.getSaddr().address().isZero()) { |
| 172 | 172 | ||
| 173 | /* | 173 | /* |
| 174 | * Create an entry that we can fast drop. | 174 | * Create an entry that we can fast drop. | ... | ... |
-
Please register or login to post a comment