summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index b22e73800..8cabc79c8 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -15617,6 +15617,7 @@ static int dahdi_restart(void)
dahdi_softhangup_all();
ast_verb(4, "Final softhangup of all DAHDI channels complete.\n");
destroy_all_channels();
+ memset(round_robin, 0, sizeof(round_robin));
ast_debug(1, "Channels destroyed. Now re-reading config. %d active channels remaining.\n", ast_active_channels());
ast_mutex_unlock(&monlock);