]> git.meshlink.io Git - meshlink/blobdiff - src/net_socket.c
Use the canonical address exclusively for making outgoing meta-connections.
[meshlink] / src / net_socket.c
index 7ac6dbbdbe023b06033e5e76956b964ff2cdc9b6..d846237275c023010b07b5aaca342e31f9be7d47 100644 (file)
@@ -320,7 +320,7 @@ static bool get_next_outgoing_address(meshlink_handle_t *mesh, outgoing_t *outgo
 
                outgoing->ai = NULL;
                outgoing->aip = NULL;
 
                outgoing->ai = NULL;
                outgoing->aip = NULL;
-               outgoing->state = OUTGOING_RECENT;
+               outgoing->state = OUTGOING_END;
        }
 
        if(outgoing->state == OUTGOING_RECENT) {
        }
 
        if(outgoing->state == OUTGOING_RECENT) {