Fix crash is sptps_logger().
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 10 Jun 2015 21:42:17 +0000 (23:42 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 10 Jun 2015 21:42:17 +0000 (23:42 +0200)
Unfortunately, sptps_logger() cannot know if s->handle is pointing to a
connection_t or a node_t. But it needs to print name and hostname in
both cases. So make sure both types have name and hostname fields at the
start with the same offset.


No differences found