projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d3de3b
)
Try next connectto instead of the same over and over.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 25 Sep 2001 13:35:45 +0000
(13:35 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 25 Sep 2001 13:35:45 +0000
(13:35 +0000)
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index
7a2a8e7
..
d268fb8
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net.c,v 1.35.4.13
1 2001/09/24 14:12:00
guus Exp $
+ $Id: net.c,v 1.35.4.13
2 2001/09/25 13:35:45
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-1003,7
+1003,7
@@
cp
{
if(setup_outgoing_connection(cfg->data.ptr)) /* function returns 0 when there are no problems */
retry = 1;
{
if(setup_outgoing_connection(cfg->data.ptr)) /* function returns 0 when there are no problems */
retry = 1;
- cfg = get_config_val(cfg, config_connectto); /* Or else we try the next ConnectTo line */
+ cfg = get_config_val(cfg
->next
, config_connectto); /* Or else we try the next ConnectTo line */
}
if(retry)
}
if(retry)