diff options
Diffstat (limited to 'src/common/abis.c')
-rw-r--r-- | src/common/abis.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/abis.c b/src/common/abis.c index 79a9d4d0..c1e1c4f3 100644 --- a/src/common/abis.c +++ b/src/common/abis.c @@ -513,5 +513,13 @@ void abis_close(struct ipabis_link *link) if (osmo_timer_pending(&link->timer)) osmo_timer_del(&link->timer); + + /* for now, we simply terminate the program and re-spawn */ + if (link->bts) + bts_shutdown(link->bts); + else if (link->trx) + bts_shutdown(link->trx->bts); + else + exit(43); } |