From 8623c62b7709991b5f7c667e6696d046eb9c9b63 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Tue, 25 Nov 2008 20:59:19 +0000 Subject: Fixing issue #13954 in zaptel 1.2. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4587 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wcte11xp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wcte11xp.c') diff --git a/wcte11xp.c b/wcte11xp.c index 016f205..d79b69c 100644 --- a/wcte11xp.c +++ b/wcte11xp.c @@ -932,7 +932,7 @@ static int t1xxp_spanconfig(struct zt_span *span, struct zt_lineconfig *lc) span->txlevel = lc->lbo; span->rxlevel = 0; /* Do we want to SYNC on receive or not */ - wc->sync = lc->sync; + wc->sync = (lc->sync) ? 1 : 0; /* If already running, apply changes immediately */ if (span->flags & ZT_FLAG_RUNNING) return t1xxp_startup(span); -- cgit v1.2.3