From: Guus Sliepen Date: Thu, 29 Mar 2012 15:45:25 +0000 (+0100) Subject: Allow environment variables to be used for Name. X-Git-Tag: release-1.0.19~11 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=535a55100bb77f107c85361e9f72a194e92bc8bc;hp=535a55100bb77f107c85361e9f72a194e92bc8bc Allow environment variables to be used for Name. 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. ---