]> git.meshlink.io Git - meshlink/blobdiff - src/route.c
Merge branch 'master' into 1.1
[meshlink] / src / route.c
index 600c53dd4e1812809b8e7119d0ed77289931c7f4..758801be80bbd38582b08d5a39724b453652a6db 100644 (file)
@@ -154,6 +154,7 @@ static void learn_mac(mac_t *address) {
                subnet->type = SUBNET_MAC;
                subnet->expires = time(NULL) + macexpire;
                subnet->net.mac.address = *address;
+               subnet->weight = 10;
                subnet_add(myself, subnet);
 
                /* And tell all other tinc daemons it's our MAC */