Commit eb8066cd authored by Julian Zobel's avatar Julian Zobel
Browse files

RangedTopologyView Bugfix

parent 986d066b
......@@ -109,9 +109,8 @@ public class RangedTopologyView extends AbstractTopologyView<RangedLink> {
}
@XMLConfigurableConstructor({ "phy", "range" })
public RangedTopologyView(String phy, double range) {
this(PhyType.WIFI, range);
setPhy(phy);
public RangedTopologyView(String phy, double range) {
this(PhyType.valueOf(phy), range);
}
@Override
......
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