code: private String resolveRepos(String localIp, Properties config) {
  		for (Object key : config.keySet()) {
  			String ipPraefix = (String) key;
  			String repos = config.getProperty(ipPraefix);
  
  			if (localIp.startsWith(ipPraefix)) {
  				log.info("Local IP " + localIp + " starts with '{}', selecting [{}]", ipPraefix, repos);
  				return repos;
  			} else {
  				log.debug("Local IP " + localIp + " does not start with '{}' --> {}", ipPraefix, repos);
  			}
  		}
  
  		log.warn("No matching config-entry found for {}, falling back to default-repository {}", localIp,
  				defaultRepositoryUrl);
  
  		return defaultRepositoryUrl;
  	}
docs: Ermittelt anhand der lokalen IP-Adresse und der übergebenen
  Konfiguration, welches Repository für den Update-Vorgang verwendet werden
  soll.