diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-07-06 22:09:23 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-07-06 22:09:23 +0000 |
commit | 57549330454fb44af4b4a16e1e3e9b5fbdf61b0d (patch) | |
tree | f7fbd5e6967ed0a88d300e6a934c1fadf5ef93df /channels | |
parent | 390d5781cfdf83209dbc064af44d3cded8838c47 (diff) |
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
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_dahdi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 534d9a82a..e2cad3fef 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] ); } |