Jonathan Hart
Committed by Gerrit Code Review

Fix for logic error in SDN-IP.

Change-Id: Idf1f8713a3d61972f5585dcf307db44a6677aa46
...@@ -154,7 +154,7 @@ public class SdnIp implements SdnIpService { ...@@ -154,7 +154,7 @@ public class SdnIp implements SdnIpService {
154 if (!event.subject().topic().equals(appId.name())) { 154 if (!event.subject().topic().equals(appId.name())) {
155 return; // Not our topic: ignore 155 return; // Not our topic: ignore
156 } 156 }
157 - if (Objects.equals(event.subject().leader(), localControllerNode.id())) { 157 + if (!Objects.equals(event.subject().leader(), localControllerNode.id())) {
158 return; // The event is not about this instance: ignore 158 return; // The event is not about this instance: ignore
159 } 159 }
160 160
......