diff options
author | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-04-28 22:23:52 +0000 |
---|---|---|
committer | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-04-28 22:23:52 +0000 |
commit | 2c5d383ce7ad82476fe1687b9d29aad87a80e6ee (patch) | |
tree | bcd1b71439ee8b16daa93bb2cbaaf1461fba7a9f /zaptel.c | |
parent | 62618b4de2d2ac70090ec0991067435380e9e046 (diff) |
Enable slip debugging by default, as well as add a parameter to report slips in /proc/zaptel/x
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2472 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.c')
-rw-r--r-- | zaptel.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -602,6 +602,8 @@ static int zaptel_proc_read(char *page, char **start, off_t off, int count, int len += sprintf(page + len, "\tFAS error count: %d\n", spans[span]->fascount); if (spans[span]->irqmisses) len += sprintf(page + len, "\tIRQ misses: %d\n", spans[span]->irqmisses); + if (spans[span]->timingslips) + len += sprintf(page + len, "\tTiming slips: %d\n", spans[span]->timingslips); len += sprintf(page + len, "\n"); |