]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
ptp is the 5th bit, not the 4th.
authorNadi Sarrar <ns@beronet.com>
Tue, 3 Apr 2007 10:40:58 +0000 (10:40 +0000)
committerNadi Sarrar <ns@beronet.com>
Tue, 3 Apr 2007 10:40:58 +0000 (10:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59803 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/misdn_config.c

index 2345bc235a844707cf33ef03f69ef0a2deb885bf..959cc2e9353ddc6369a98622a4936359e617703f 100644 (file)
@@ -719,7 +719,7 @@ void misdn_cfg_update_ptp (void)
                if (fscanf(fp, "0x%08x", &proto) != 1)
                        ast_log(LOG_WARNING, "Could not parse contents of %s!\n", filename);
                else
-                       ptp[i] = proto & 1<<4 ? 1 : 0;
+                       ptp[i] = proto & 1<<5 ? 1 : 0;
                fclose(fp);
        }
 #endif