aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_dahdi.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-17 20:13:40 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-17 20:13:40 +0000
commitf4a5d593628f3296611859f69ff24ee3d95535da (patch)
tree44c03bd656930ad4b36b921854685fd0ab516452 /channels/chan_dahdi.c
parentb1ec7dcbc319fea646ab8eef1ce6f1116a3ffa80 (diff)
Allow dahdichanname to work as advertised.
(closes issue #14056) Reported by: dsedivec Patches: load_from_zapata_conf.patch uploaded by dsedivec (license 638) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@182652 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r--channels/chan_dahdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 291dc4762..a8d2bd056 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -11997,7 +11997,7 @@ static int setup_dahdi(int reload)
#ifdef HAVE_ZAPTEL
int load_from_zapata_conf = 1;
#else
- int load_from_zapata_conf = (dahdi_chan_mode == CHAN_ZAP_MODE);
+ int load_from_zapata_conf = (*dahdi_chan_mode == CHAN_ZAP_MODE);
#endif
if (load_from_zapata_conf) {