ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/protocol.C
(Generate patch)

Comparing gvpe/src/protocol.C (file contents):
Revision 1.2 by pcg, Sun Mar 2 23:04:02 2003 UTC vs.
Revision 1.3 by pcg, Mon Mar 3 06:03:40 2003 UTC

1136{ 1136{
1137 connection *c = find_router (); 1137 connection *c = find_router ();
1138 1138
1139 if (c) 1139 if (c)
1140 c->connect_request (id); 1140 c->connect_request (id);
1141 //else // does not work, because all others must connect to the same router
1142 // // no router found, aggressively connect to all routers
1143 // for (conns_vector::iterator i = conns.begin (); i != conns.end (); ++i)
1144 // if ((*i)->conf->routerprio)
1145 // (*i)->establish_connection ();
1141} 1146}
1142 1147
1143void 1148void
1144vpn::main_loop () 1149vpn::main_loop ()
1145{ 1150{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines