Commit 30633437 authored by Constantin Papizh's avatar Constantin Papizh

Introducing standby mode for windows

parent e4c85059
......@@ -140,7 +140,7 @@ void ChChainNetSrv::onPktIn(DapChannelPacket* a_pkt)
/// TODO add usage id, net id and service id to identify what exactly was stopped
emit sigNotifyStopped();
} break;
//default: qWarning() << "Unknown packet type " << a_pkt->hdr()->type;
default: qWarning() << "Unknown packet type " << a_pkt->hdr()->type;
}
}
......
......@@ -323,6 +323,12 @@ void ChChainNetSrvVpn::tunDestroy()
tun->destroy();
}
void ChChainNetSrvVpn::tunStandby()
{
tun->standby();
}
/**
* @brief ChChainNetSrvVpn::afterTunCreate
* @param a_tunSocket
......
......@@ -143,6 +143,7 @@ namespace Dap {
void tunCreate(); // create with all predefined before values
void tunDestroy();
void tunStandby();
};
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment