X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Froute.c;h=758801be80bbd38582b08d5a39724b453652a6db;hp=600c53dd4e1812809b8e7119d0ed77289931c7f4;hb=108b238915c5f58b3d94ab433dc5d04e064c2b11;hpb=761517c21c37a808a19b487aa116c3c19439feca diff --git a/src/route.c b/src/route.c index 600c53dd..758801be 100644 --- a/src/route.c +++ b/src/route.c @@ -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 */