Choose a different Port when 655 isn't available when doing "tinc join".
This commit is contained in:
parent
8f2db4afdd
commit
37cca72e6c
3 changed files with 35 additions and 28 deletions
|
|
@ -695,6 +695,8 @@ ask_netname:
|
|||
ecdsa_free(key);
|
||||
rsa_free(rsa);
|
||||
|
||||
check_port(name);
|
||||
|
||||
fprintf(stderr, "Invitation succesfully accepted.\n");
|
||||
shutdown(sock, SHUT_RDWR);
|
||||
success = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue