]> git.meshlink.io Git - meshlink/commit
Rename setup_network_connections() and split out try_outgoing_connections()
authorMichael Tokarev <mjt@corpit.ru>
Mon, 18 May 2009 12:25:10 +0000 (16:25 +0400)
committerGuus Sliepen <guus@sliepen.eu.org>
Mon, 18 May 2009 12:34:24 +0000 (14:34 +0200)
commit6698f7c390a5ae2f262e30560d9df59f9d5c418d
treed7f41b4dd4301b2c7ba595a9dc44931690590d92
parent3308d13e7e3bf20cfeaf6f2ab17228a9820cea66
Rename setup_network_connections() and split out try_outgoing_connections()

In preparation of chroot/setuid operations, split out call to
try_outgoing_connections() from setup_network_connections()
(which was the last call in setup_network_connections()).
This is because dropping privileges should be done in-between
setup_network_connections() and try_outgoing_connections().

This patch renames setup_network_connections() to setup_network()
and moves call to try_outgoing_connections() into main routine.

No functional changes.
src/net.h
src/net_setup.c
src/tincd.c