]> www.tinc-vpn.org Git - tinc/blobdiff - src/invitation.c
Choose a different Port when 655 isn't available when doing "tinc join".
[tinc] / src / invitation.c
index bd1fb94022f95d1f470613b75e64219044fe3bd0..a5454bf449af45b14dd518a138c501fce8ac8c97 100644 (file)
@@ -695,6 +695,8 @@ ask_netname:
        ecdsa_free(key);
        rsa_free(rsa);
 
        ecdsa_free(key);
        rsa_free(rsa);
 
+       check_port(name);
+
        fprintf(stderr, "Invitation succesfully accepted.\n");
        shutdown(sock, SHUT_RDWR);
        success = true;
        fprintf(stderr, "Invitation succesfully accepted.\n");
        shutdown(sock, SHUT_RDWR);
        success = true;