summaryrefslogtreecommitdiff
path: root/zaptel.c
diff options
context:
space:
mode:
authorcitats <citats@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-05-18 07:02:39 +0000
committercitats <citats@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-05-18 07:02:39 +0000
commitc6f8c6c35719b1ae010b01f6aa5beec113d3b4c2 (patch)
tree7a390e428cbbc3e8c2396037232b6e6bb47cb3a2 /zaptel.c
parent905f887cde60e5465b7f69ed392050a932c7354c (diff)
Fix nethdlc up/down/up freezing issue
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@394 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.c')
-rwxr-xr-xzaptel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zaptel.c b/zaptel.c
index 8789a11..6be59c3 100755
--- a/zaptel.c
+++ b/zaptel.c
@@ -1234,6 +1234,7 @@ static void zt_net_close(hdlc_device *hdlc)
}
/* Not much to do here. Just deallocate the buffers */
zt_reallocbufs(ms, 0, 0);
+ hdlc_close(hdlc);
#ifndef LINUX26
MOD_DEC_USE_COUNT;
#endif