ia64/xen-unstable

changeset 637:9e2f11b00e2f

bitkeeper revision 1.355 (3f13daaex8SDyv1qBoqiITvhXIi0nA)

Stop new-domain code from trying to resolve ip to host; just take given hostname string.
author rac61@labyrinth.cl.cam.ac.uk
date Tue Jul 15 10:42:54 2003 +0000 (2003-07-15)
parents 062359854730
children 9b6e7829eb39
files tools/control/src/org/xenoserver/control/CommandDomainNew.java
line diff
     1.1 --- a/tools/control/src/org/xenoserver/control/CommandDomainNew.java	Tue Jul 15 10:32:05 2003 +0000
     1.2 +++ b/tools/control/src/org/xenoserver/control/CommandDomainNew.java	Tue Jul 15 10:42:54 2003 +0000
     1.3 @@ -196,7 +196,7 @@ public class CommandDomainNew extends Co
     1.4                  if (vifs > 0) {
     1.5                      domain_ip =
     1.6                          InetAddressPattern.parse(nw_ip).resolve(domain_id);
     1.7 -                    if (nw_host == null) {
     1.8 +                 /*   if (nw_host == null) {
     1.9                          try {
    1.10                              nw_host =
    1.11                                  InetAddress.getByName(domain_ip).getHostName();
    1.12 @@ -204,7 +204,7 @@ public class CommandDomainNew extends Co
    1.13                              nw_host = "" + nw_ip;
    1.14                          }
    1.15  
    1.16 -                    }
    1.17 +                    }*/
    1.18                      bargs =
    1.19                          ("ip="
    1.20                              + domain_ip