|
|
@ -40,7 +40,7 @@ int main(int argc,char* argv[]) {
|
|
|
|
int preferred_remote_network = check_ip_ver(remote_addr);
|
|
|
|
int preferred_remote_network = check_ip_ver(remote_addr);
|
|
|
|
printf("Using %d for local\nUsing %d for remote\n",preferred_local_network,preferred_remote_network);
|
|
|
|
printf("Using %d for local\nUsing %d for remote\n",preferred_local_network,preferred_remote_network);
|
|
|
|
|
|
|
|
|
|
|
|
if ((preferred_local_network == -1) && (preferred_remote_network == -1)) {
|
|
|
|
if ((preferred_local_network == -1) || (preferred_remote_network == -1)) {
|
|
|
|
exit(-7);
|
|
|
|
exit(-7);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|