… | |
… | |
860 | |
860 | |
861 | if (si.prot && !si.host && vpn->can_direct (THISNODE, conf)) |
861 | if (si.prot && !si.host && vpn->can_direct (THISNODE, conf)) |
862 | { |
862 | { |
863 | /*TODO*/ /* start the timer so we don't recurse endlessly */ |
863 | /*TODO*/ /* start the timer so we don't recurse endlessly */ |
864 | w.start (1); |
864 | w.start (1); |
865 | vpn->send_connect_request (conf->id); |
865 | vpn->send_connect_request (this); |
866 | } |
866 | } |
867 | else |
867 | else |
868 | { |
868 | { |
869 | if (si.valid ()) |
869 | if (si.valid ()) |
870 | slog (L_DEBUG, _("%s: sending direct connection request to %s."), |
870 | slog (L_DEBUG, _("%s: sending direct connection request to %s."), |