… | |
… | |
813 | run_script (run_script_cb (this, &connection::script_node_down), false); |
813 | run_script (run_script_cb (this, &connection::script_node_down), false); |
814 | } |
814 | } |
815 | |
815 | |
816 | delete ictx; ictx = 0; |
816 | delete ictx; ictx = 0; |
817 | delete octx; octx = 0; |
817 | delete octx; octx = 0; |
|
|
818 | #if ENABLE_DNS |
|
|
819 | delete dns; dns = 0; |
|
|
820 | #endif |
818 | |
821 | |
819 | si.host = 0; |
822 | si.host = 0; |
820 | |
823 | |
821 | last_activity = 0; |
824 | last_activity = 0; |
822 | retry_cnt = 0; |
825 | retry_cnt = 0; |
… | |
… | |
1224 | : vpn(vpn), conf(conf) |
1227 | : vpn(vpn), conf(conf) |
1225 | , rekey (this, &connection::rekey_cb) |
1228 | , rekey (this, &connection::rekey_cb) |
1226 | , keepalive (this, &connection::keepalive_cb) |
1229 | , keepalive (this, &connection::keepalive_cb) |
1227 | , establish_connection (this, &connection::establish_connection_cb) |
1230 | , establish_connection (this, &connection::establish_connection_cb) |
1228 | #if ENABLE_DNS |
1231 | #if ENABLE_DNS |
1229 | , dnsv4_tw (this, &connection::dnsv4_cb) |
1232 | , dns (0) |
1230 | , dns_rcvdq (0), dns_snddq (0) |
|
|
1231 | , dns_rcvseq (0), dns_sndseq (0) |
|
|
1232 | #endif |
1233 | #endif |
1233 | { |
1234 | { |
1234 | octx = ictx = 0; |
1235 | octx = ictx = 0; |
1235 | retry_cnt = 0; |
1236 | retry_cnt = 0; |
1236 | |
1237 | |