stop data plane traffic before sending detach request

This commit is contained in:
Andre Puschmann 2019-06-20 12:48:02 +02:00
parent 10a56e2a84
commit 9b985ab6ea
1 changed files with 7 additions and 2 deletions

View File

@ -231,11 +231,16 @@ void ue::stop()
}
}
bool ue::switch_on() {
bool ue::switch_on()
{
return stack->switch_on();
}
bool ue::switch_off() {
bool ue::switch_off()
{
if (gw_inst) {
gw_inst->stop();
}
return stack->switch_off();
}