Fixed editZone command - if dns2 is not specified, keep the old value instead of updating it to NULL

This commit is contained in:
alena 2010-11-19 16:12:35 -08:00
parent 8c5b5107ef
commit fe93821bb1
1 changed files with 4 additions and 0 deletions

View File

@ -911,6 +911,10 @@ public class ConfigurationManagerImpl implements ConfigurationManager, Configura
dns1 = zone.getDns1();
}
if (dns2 == null) {
dns2 = zone.getDns2();
}
if(internalDns1 == null)
{
internalDns1 = zone.getInternalDns1();