… | |
… | |
1048 | // send connect_info packets to both sides, in case one is |
1048 | // send connect_info packets to both sides, in case one is |
1049 | // behind a nat firewall (or both ;) |
1049 | // behind a nat firewall (or both ;) |
1050 | c->send_connect_info (conf->id, si, conf->protocols); |
1050 | c->send_connect_info (conf->id, si, conf->protocols); |
1051 | send_connect_info (c->conf->id, c->si, c->conf->protocols); |
1051 | send_connect_info (c->conf->id, c->si, c->conf->protocols); |
1052 | } |
1052 | } |
|
|
1053 | else |
|
|
1054 | c->establish_connection (); |
1053 | } |
1055 | } |
1054 | |
1056 | |
1055 | break; |
1057 | break; |
1056 | |
1058 | |
1057 | case vpn_packet::PT_CONNECT_INFO: |
1059 | case vpn_packet::PT_CONNECT_INFO: |