X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fo1-interface.git;a=blobdiff_plain;f=ntsimulator%2Fntsim-ng%2Fcore%2Fdocker.c;h=3d5faa26b305aaa84e39660298ccba6d5243aa63;hp=92edc79e2241d851405dec3c1609aac2451c3a54;hb=5ef280448456cd6962faa4028da63ea9f14ff84b;hpb=a1eba9f419825263f5fe60a83405d2287f6bd88e diff --git a/ntsimulator/ntsim-ng/core/docker.c b/ntsimulator/ntsim-ng/core/docker.c index 92edc79..3d5faa2 100644 --- a/ntsimulator/ntsim-ng/core/docker.c +++ b/ntsimulator/ntsim-ng/core/docker.c @@ -446,12 +446,6 @@ static int docker_add_port(cJSON *portBindings, uint16_t docker_port, uint16_t h return NTS_ERR_FAILED; } - if(cJSON_AddStringToObject(hostPort, "HostIp", "0.0.0.0") == 0) { //or, future, bind to container->host_ip - log_error("could not create JSON object: HostIpString\n"); - cJSON_Delete(hostPort); - return NTS_ERR_FAILED; - } - if(cJSON_AddItemToArray(port, hostPort) == 0) { log_error("cJSON_AddItemToArray failed\n"); cJSON_Delete(hostPort);