diff --git a/ui/scripts/cloud.core.configuration.js b/ui/scripts/cloud.core.configuration.js index 4ec000bcc7b..921ce540ada 100644 --- a/ui/scripts/cloud.core.configuration.js +++ b/ui/scripts/cloud.core.configuration.js @@ -597,7 +597,9 @@ function showConfigurationTab() { if(newStartip != oldStartip) array1.push("&startIp="+encodeURIComponent(newStartip)); if(newEndip != oldEndip && newEndip != null && newEndip.length > 0) { - array1.push("&startIp="+encodeURIComponent(newStartip)); //startIp needs to be passed to updatePod API when endIp is passed to updatePod API. + if(newStartip == oldStartip) { + array1.push("&startIp="+encodeURIComponent(newStartip)); //startIp needs to be passed to updatePod API when endIp is passed to updatePod API. + } array1.push("&endIp="+encodeURIComponent(newEndip)); } if(newGateway != oldGateway && newGateway != null && newGateway.length > 0)