From: Tilghman Lesher Date: Tue, 6 Jul 2010 22:09:23 +0000 (+0000) Subject: Status shows all non-CRC4 lines as "yellow", even if "yellow" was not in the bitfield. X-Git-Tag: 11.0.0-beta1~2735 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57549330454fb44af4b4a16e1e3e9b5fbdf61b0d;p=thirdparty%2Fasterisk.git Status shows all non-CRC4 lines as "yellow", even if "yellow" was not in the bitfield. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274281 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 534d9a82ab..e2cad3fef9 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -14769,7 +14769,8 @@ static char *dahdi_show_status(struct ast_cli_entry *e, int cmd, struct ast_cli_ s.lineconfig & DAHDI_CONFIG_AMI ? "AMI" : "Unk", s.lineconfig & DAHDI_CONFIG_CRC4 ? - s.lineconfig & DAHDI_CONFIG_NOTOPEN ? "CRC4/YEL" : "CRC4" : "YEL", + s.lineconfig & DAHDI_CONFIG_NOTOPEN ? "CRC4/YEL" : "CRC4" : + s.lineconfig & DAHDI_CONFIG_NOTOPEN ? "YEL" : "", lbostr[s.lbo] ); }