]> git.meshlink.io Git - meshlink/commit
Put Subnet weight in a separate environment variable.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 12 Sep 2009 11:34:11 +0000 (13:34 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 12 Sep 2009 11:34:11 +0000 (13:34 +0200)
commit052ff8b2c598358d1c5febaa9f9f5fc5d384cfd3
tree43cc717e17b509559c4a58b5eb61ec196f940606
parenta60a0a1f1357508063ee565d672c39898a787e33
Put Subnet weight in a separate environment variable.

Commit 5674bba5c54c1aee3a4ac5b3aba6b3ebded91bbc introduced weighted Subnets,
but the weight was included in the SUBNET variable passed to subnet-up/down
scripts. This makes it harder to use in those scripts. The weight is now
stripped from the SUBNET variable and put in the WEIGHT variabel.
src/subnet.c