Fix backwards compatibility
This commit is contained in:
parent
8dd4025248
commit
19e7611061
@ -380,6 +380,9 @@ public void simulationFinishedLoading() {
|
||||
if (destClassName == null || destClassName.isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
/* Backwards compatibility: se.sics -> org.contikios */
|
||||
destClassName = destClassName.replaceFirst("^se\\.sics", "org.contikios");
|
||||
|
||||
Class<? extends DGRMDestinationRadio> destClass =
|
||||
simulation.getCooja().tryLoadClass(this, DGRMDestinationRadio.class, destClassName);
|
||||
if (destClass == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user