FrameRelay_Emulation: Stop T392 if service failing condition

If the link is dead, there's no point in having timers running.  T392
will be re-started when the first Q.933 STATUS ENQUIRY is received.

Change-Id: I59b57d123d947cc358c670bc46f8c5df4597815e
This commit is contained in:
Harald Welte 2021-02-03 19:22:43 +01:00
parent 7d6688f9bc
commit 3d6188304b
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ private function fill_err_bucket(boolean has_error) runs on FR_Emulation_CT {
q933em.service_affecting_condition := true;
log("Detecting service affecting condition after N392 errors during last N393 cycles");
notify_all_clients(FRemu_Event:{link_status:=FR_LINK_STS_UNAVAILABLE});
T392.stop;
}
}
} else {