Allow environment variables to be used for Name.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 29 Mar 2012 15:45:25 +0000 (16:45 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 29 Mar 2012 15:45:25 +0000 (16:45 +0100)
When the Name starts with a $, the rest will be interpreted as the name of an
environment variable containing the real Name. When Name is $HOST, but this
environment variable does not exist, gethostname() will be used to set the
Name. In both cases, illegal characters will be converted to underscores.


No differences found