allow setting hostname/port for vpcd/vicc interfaces

This commit is contained in:
Frank Morgner
2015-03-18 07:30:03 +01:00
parent 65f7d92a7f
commit 798fb9ba0d
5 changed files with 44 additions and 12 deletions

View File

@@ -173,7 +173,12 @@ int main (int argc, char **argv)
default:
exit(2);
}
vpcdport = args_info.port_arg;
vpcdport = args_info.vpcd_port_arg;
if (args_info.vpcd_hostname_given)
vpcdhostname = args_info.vpcd_hostname_arg;
viccport = args_info.vicc_port_arg;
if (args_info.vicc_hostname_given)
vicchostname = args_info.vicc_hostname_arg;
verbose = args_info.verbose_given;