exclude DNS from subnet checking
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Sun, 7 Mar 2010 19:27:45 +0000 (19:27 +0000)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Sun, 7 Mar 2010 19:27:45 +0000 (19:27 +0000)
planetlab/nodes/interface.js

index 9e5c496..0eea2d5 100644 (file)
@@ -182,8 +182,6 @@ function interfaceSubmit () {
   if ( ! $('network').disabled ) { error = IPCheckerSilent ('network'); if (error) errors += error + "\n" ; }
   if ( ! $('gateway').disabled ) { error = subnetCheckerSilent ('gateway',false); if (error) errors += error + "\n" ; }
   if ( ! $('broadcast').disabled ) { error = subnetCheckerSilent ('broadcast',false); if (error) errors += error + "\n" ; }
-  if ( ! $('dns1').disabled ) { error = subnetCheckerSilent ('dns1',false); if (error) errors += error + "\n" ; }
-  if ( ! $('dns2').disabled ) { error = subnetCheckerSilent ('dns2',true); if (error) errors += error + "\n" ; }
 
   if ( ! errors.length) {
     return true;