X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.conf.5.in;h=560ae4799e9d2f4c422455a456316c563deff3b6;hp=f6b0da465658341540b0c25337d61190c37c3953;hb=535a55100bb77f107c85361e9f72a194e92bc8bc;hpb=89f4574e0b1553c8e5dcbfc275e829a759b697f6 diff --git a/doc/tinc.conf.5.in b/doc/tinc.conf.5.in index f6b0da46..560ae479 100644 --- a/doc/tinc.conf.5.in +++ b/doc/tinc.conf.5.in @@ -394,6 +394,19 @@ while no routing table is managed. .It Va Name Li = Ar name Bq required This is the name which identifies this tinc daemon. It must be unique for the virtual private network this daemon will connect to. +The Name may only consist of alphanumeric and underscore characters. + +If +.Va Name +starts with a +.Li $ , +then the contents of the environment variable that follows will be used. +In that case, invalid characters will be converted to underscores. +If +.Va Name +is +.Li $HOST , +but no such environment variable exist, the hostname will be read using the gethostnname() system call. .It Va PingInterval Li = Ar seconds Pq 60 The number of seconds of inactivity that