]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
CRC4 in "dahdi show status" gives wrong impression to T1 users
authorKinsey Moore <kmoore@digium.com>
Thu, 18 Aug 2011 19:28:00 +0000 (19:28 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 18 Aug 2011 19:28:00 +0000 (19:28 +0000)
Change CRC4 to CRC in the output of "dahdi show status" so that it can apply in
more situations without confusing users, especially since T1 lines use CRC6
instead of CRC4.

(closes issue AST-471)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@332503 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index d4ea756ef04dd41131845e893fd03ac78956dfa6..1ec88bc663b7bfdfd139469462f323b316370336 100644 (file)
@@ -15364,7 +15364,7 @@ static char *dahdi_show_status(struct ast_cli_entry *e, int cmd, struct ast_cli_
                ast_cli(a->fd, "No DAHDI found. Unable to open /dev/dahdi/ctl: %s\n", strerror(errno));
                return CLI_FAILURE;
        }
-       ast_cli(a->fd, FORMAT2, "Description", "Alarms", "IRQ", "bpviol", "CRC4", "Framing", "Coding", "Options", "LBO");
+       ast_cli(a->fd, FORMAT2, "Description", "Alarms", "IRQ", "bpviol", "CRC", "Framing", "Coding", "Options", "LBO");
 
        for (span = 1; span < DAHDI_MAX_SPANS; ++span) {
                s.spanno = span;