Skip to content

Commit

Permalink
修复启动了服务端后, 客户端不能启动的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dwj0 committed Jun 20, 2022
1 parent 21262d5 commit b2221ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions n2n_gui/n2n_guiDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define new DEBUG_NEW
#endif

char const Version[] = "V2.0.0";
char const Version[] = "V2.1.0";

char *FormatServerShowName(SERVER_Struct *Host, char *str)
{
Expand Down Expand Up @@ -625,7 +625,8 @@ void Cn2n_guiDlg::OnBnClickedBtnStartStop()
InstallWintap();
else if (strcmp(Name,"启动")==0)
{
if (StartSuperNode() || StartEdge())
bool bsupernode = StartSuperNode(), bedge = StartEdge();
if (bsupernode || bedge)
{
//禁用控件
for (int id = 0; id <= 9; id++)
Expand Down

0 comments on commit b2221ec

Please sign in to comment.