diff --git a/src/main/kotlin/org/ice4j/ice/harvest/HarvestConfig.kt b/src/main/kotlin/org/ice4j/ice/harvest/HarvestConfig.kt index 5580da7..1e9ffb7 100644 --- a/src/main/kotlin/org/ice4j/ice/harvest/HarvestConfig.kt +++ b/src/main/kotlin/org/ice4j/ice/harvest/HarvestConfig.kt @@ -86,7 +86,7 @@ class HarvestConfig { private val staticMappingsFromNewConfig: Set by config { "ice4j.harvest.mapping.static-mappings".from(configSource) .convertFrom> { cfg -> - cfg.map { StaticMapping(it.getString("localAddress"), it.getString("publicAddress")) }.toSet() + cfg.map { StaticMapping(it.getString("local-address"), it.getString("public-address")) }.toSet() } }