Update "now" after connect() when making outgoing connections.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 1 Nov 2015 20:07:56 +0000 (21:07 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 10 Apr 2016 15:49:23 +0000 (17:49 +0200)
commit2a7871990bc401921b8bb9accbc6a8206d564f72
tree607b96c1ff5d82eb67ec7766a14b6a1eb5b556a6
parentcadbf587a09bd4adde664cd635b962315228b3f5
Update "now" after connect() when making outgoing connections.

It could be that address resolution takes a long time, don't let that
count against a connection. This is especially important when using a
nameserver from the VPN.

# Conflicts:
# src/net_socket.c
src/net_socket.c