From: Guus Sliepen Date: Sat, 25 Jun 2011 19:35:27 +0000 (+0200) Subject: Make pid files backwards compatible and add address of listening socket. X-Git-Tag: release-1.1pre2~47 X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;h=ab4d289fafd1d391583935ab4c306f1f508ea1d0;hp=ab4d289fafd1d391583935ab4c306f1f508ea1d0;p=tinc Make pid files backwards compatible and add address of listening socket. The pid is now written first, so that a version 1.0.x tincd can be used to stop a running version 1.1 tincd. Getsockname() is used to determine the address of the first listening socket, so that tincctl can connect to the local tincd even if AddressFamily = ipv6, or if BindToAddress or BindToInterface is used. ---