From: Kinsey Moore Date: Thu, 18 Aug 2011 19:28:00 +0000 (+0000) Subject: CRC4 in "dahdi show status" gives wrong impression to T1 users X-Git-Tag: 1.8.7.0-rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eceaa5efbb4e43a6c57d314d838162b1742a7ec;p=thirdparty%2Fasterisk.git CRC4 in "dahdi show status" gives wrong impression to T1 users 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 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index d4ea756ef0..1ec88bc663 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -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;