]> git.meshlink.io Git - meshlink/commitdiff
ops this should be NOT zero to NOT be a probe
authorSaverio Proto <zioproto@gmail.com>
Sat, 12 Apr 2014 19:10:13 +0000 (21:10 +0200)
committerSaverio Proto <zioproto@gmail.com>
Sat, 12 Apr 2014 19:10:13 +0000 (21:10 +0200)
src/libmeshlink.c

index 34ac088099ec54c19f56cba487e88f6be139a6a4..828c5b3dcc83ba81642465accef43d86357ff763 100644 (file)
@@ -571,7 +571,7 @@ bool tinc_send_packet(node_t *receiver, const char* buf, unsigned int len) {
        return false;
        }
 
-       memset(hdr->legacymtu,0,sizeof(hdr->legacymtu));
+       memset(hdr->legacymtu,1,sizeof(hdr->legacymtu));
        memcpy(hdr->destination,receiver->name,sizeof(hdr->destination));
        memcpy(hdr->source,myself->name,sizeof(hdr->source));