Commit 88fe42d9 authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Bugfix in TopologyComponent-SiSAdapter

parent b8d7d520
......@@ -147,7 +147,7 @@ public class DefaultTopologyComponent implements TopologyComponent {
@Override
public void eventOccurred(Object content, int type) {
if (getTopology().getTopologyView(PhyType.WIFI) != null) {
if (getHost().getLinkLayer().hasPhy(PhyType.WIFI)) {
new SiSTopologyProvider(sis, SiSTypes.NEIGHBORS_WIFI,
DefaultTopologyComponent.this, getTopologyID(
NetInterfaceName.WIFI, true),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment