]> git.meshlink.io Git - meshlink/commitdiff
Remove a warning about setting the UDP address of mesh->self.
authorGuus Sliepen <guus@meshlink.io>
Thu, 10 Jun 2021 20:39:40 +0000 (22:39 +0200)
committerGuus Sliepen <guus@meshlink.io>
Fri, 8 Oct 2021 18:57:24 +0000 (20:57 +0200)
This warning is not useful.

src/node.c

index 70c2932804b0c4f02fe6c7fdca7cfc20a8cb3ae7..977b98b60b000d7375da10627545731b8393d87b 100644 (file)
@@ -112,7 +112,6 @@ node_t *lookup_node_udp(meshlink_handle_t *mesh, const sockaddr_t *sa) {
 
 void update_node_udp(meshlink_handle_t *mesh, node_t *n, const sockaddr_t *sa) {
        if(n == mesh->self) {
-               logger(mesh, MESHLINK_WARNING, "Trying to update UDP address of mesh->self!");
                return;
        }