commit | 633f35b9497baacd20b51b22b4526e5de3db6b93 | [log] [tgz] |
---|---|---|
author | pierventre <pier@opennetworking.org> | Mon Oct 11 22:53:04 2021 +0200 |
committer | pierventre <pier@opennetworking.org> | Tue Oct 12 17:49:37 2021 +0200 |
tree | 361c6081d56a2ed22d227e9908ec1b0411a4cc75 | |
parent | 0dcbf0e9b78015808318a69b31b25fcfad9b98be [diff] |
Fix a check that was wrongly flipped in the previous refactoring Change-Id: I4b49094f32e865862c1fbf965a5a0b77e4ea8ca3
diff --git a/impl/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java b/impl/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java index 5d86487..85511d6 100644 --- a/impl/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java +++ b/impl/src/main/java/org/onosproject/segmentrouting/SegmentRoutingManager.java
@@ -1732,7 +1732,7 @@ lastEdgePortEvent = Instant.now(); } - if (shouldProgram(device.id())) { + if (!shouldProgram(device.id())) { log.debug("Should not program dev:{} .. not handling port updated event " + "for port {}", device.id(), port.number()); return;