aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bsc/chan_alloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bsc/chan_alloc.c b/src/osmo-bsc/chan_alloc.c
index a24fbea94..cec5846d9 100644
--- a/src/osmo-bsc/chan_alloc.c
+++ b/src/osmo-bsc/chan_alloc.c
@@ -539,6 +539,9 @@ void lchan_free(struct gsm_lchan *lchan)
/* FIXME: ts_free() the timeslot, if we're the last logical
* channel using it */
+
+ /* reset RTP voice connection related data */
+ memset(&lchan->abis_ip, 0, sizeof(lchan->abis_ip));
}
/*