… | |
… | |
845 | } |
845 | } |
846 | |
846 | |
847 | inline void |
847 | inline void |
848 | connection::establish_connection_cb (ev::timer &w, int revents) |
848 | connection::establish_connection_cb (ev::timer &w, int revents) |
849 | { |
849 | { |
850 | if (!ictx |
850 | if (!(ictx && octx) |
851 | && conf != THISNODE |
851 | && conf != THISNODE |
852 | && connectmode != conf_node::C_NEVER |
852 | && connectmode != conf_node::C_NEVER |
853 | && connectmode != conf_node::C_DISABLED |
853 | && connectmode != conf_node::C_DISABLED |
854 | && !w.is_active ()) |
854 | && !w.is_active ()) |
855 | { |
855 | { |