Fix error handling when setting up the UDP socket.
authorEtienne Dechamps <etienne@edechamps.fr>
Thu, 14 Jul 2016 18:15:35 +0000 (19:15 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Thu, 14 Jul 2016 18:15:35 +0000 (19:15 +0100)
commit2784a171ec39e2a34aabf8194a651de570e19e0e
tree10721db0ef005ac61f5148f2b59fe629238637d6
parentb1c29464b68d756035acc4b4d1681f05d8831eaf
Fix error handling when setting up the UDP socket.

Due to this typo, if tinc managed to set up the TCP socket but not the
UDP socket, it would continue anyway.

The regression was introduced in
6bc5d626a8726fc23365ee705761a3c666a08ad4.
src/net_setup.c