mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
ptp is the 5th bit, not the 4th.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -719,7 +719,7 @@ void misdn_cfg_update_ptp (void)
|
|||||||
if (fscanf(fp, "0x%08x", &proto) != 1)
|
if (fscanf(fp, "0x%08x", &proto) != 1)
|
||||||
ast_log(LOG_WARNING, "Could not parse contents of %s!\n", filename);
|
ast_log(LOG_WARNING, "Could not parse contents of %s!\n", filename);
|
||||||
else
|
else
|
||||||
ptp[i] = proto & 1<<4 ? 1 : 0;
|
ptp[i] = proto & 1<<5 ? 1 : 0;
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user