commit | e410e630b034ca95a8fe10a4ffd20c3cf49c68f8 | [log] [tgz] |
---|---|---|
author | jaegonkim <jaegon77.kim@samsung.com> | Fri Feb 10 07:16:29 2017 +0900 |
committer | Thomas Vachuska <tom@onlab.us> | Mon Feb 13 23:33:15 2017 +0000 |
tree | 065ec02a868b20bf1c0cf8e811886486dc5b44c0 | |
parent | 48cc00176094282738fadfe3737c58826af70a32 [diff] |
[ONOS-5954] FloatingIpListener cannot be removed in VTN app. - FloatingIpManager Change-Id: I389e79dc40d862b8bce1021c4556af1df7e79601 (cherry picked from commit 7d3120d8ab8ba1d90277b14f309427ba82afd6e9)
diff --git a/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/floatingip/impl/FloatingIpManager.java b/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/floatingip/impl/FloatingIpManager.java index a8b4edf..882f7f9 100644 --- a/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/floatingip/impl/FloatingIpManager.java +++ b/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/floatingip/impl/FloatingIpManager.java
@@ -246,7 +246,7 @@ @Override public void removeListener(FloatingIpListener listener) { checkNotNull(listener, LISTENER_NOT_NULL); - listeners.add(listener); + listeners.remove(listener); } /**