mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix bug 6153 - when editing a private IP range, just modifying the ending of the IP range will throw an error.
This commit is contained in:
parent
e5cd44c6fb
commit
d117da5f7d
@ -596,8 +596,10 @@ function showConfigurationTab() {
|
||||
array1.push("&cidr="+encodeURIComponent(newCidr));
|
||||
if(newStartip != oldStartip)
|
||||
array1.push("&startIp="+encodeURIComponent(newStartip));
|
||||
if(newEndip != oldEndip && newEndip != null && newEndip.length > 0)
|
||||
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.
|
||||
array1.push("&endIp="+encodeURIComponent(newEndip));
|
||||
}
|
||||
if(newGateway != oldGateway && newGateway != null && newGateway.length > 0)
|
||||
array1.push("&gateway="+encodeURIComponent(newGateway));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user