--- dynamips.c.orig Wed Mar 21 10:07:17 2007 +++ dynamips.c Wed Mar 21 13:39:57 2007 @@ -61,6 +61,7 @@ /* Hypervisor */ int hypervisor_mode = 0; int hypervisor_tcp_port = 0; +char hypervisor_ip_address[263]; /* 256(MAXHOSTNAMELEN)+1(:)+5(port)+NULL */ /* Log file */ char *log_file_name = NULL; @@ -227,7 +228,7 @@ printf("Usage: %s [options] \n\n",argv[0]); printf("Available options:\n" - " -H : Run in hypervisor mode\n\n" + " -H [ip_address:] : Run in hypervisor mode\n\n" " -P : Platform to emulate (7200, 3600, " "2691, 3725 or 3745) " "(default: 7200)\n\n" @@ -1061,6 +1062,7 @@ static int run_hypervisor(int argc,char *argv[]) { char *options_list = "H:l:hN:"; + char *index; int i,option; for(i=1;i