commit | 21720341e092024cb2d566b4f169a9a30299187f | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Sat May 13 00:19:09 2017 -0700 |
committer | Ray Milkey <ray@onlab.us> | Mon May 15 16:03:06 2017 +0000 |
tree | 1140dd91240fa8c9ac2b4eefda475c0afc2bc278 | |
parent | 997fda6688c03b8ce8ed4a67d43b2d702f5cc80f [diff] |
hostsByIp is not updated properly when a host is removed ref: gerrit #12558 Change-Id: I514833ccf953dce4e1e8f954b7d9b5b95f503907
diff --git a/core/store/dist/src/main/java/org/onosproject/store/host/impl/DistributedHostStore.java b/core/store/dist/src/main/java/org/onosproject/store/host/impl/DistributedHostStore.java index 04a85f1..c65ca4b 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/host/impl/DistributedHostStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/host/impl/DistributedHostStore.java
@@ -389,7 +389,7 @@ } break; case REMOVE: - updateHostsByIp(host); + removeHostsByIp(host); notifyDelegate(new HostEvent(HOST_REMOVED, host)); break; default: