diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-06 22:09:23 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-06 22:09:23 +0000 |
commit | da65ef1531e505cf0766ef1b475e48969a6d93dd (patch) | |
tree | f7fbd5e6967ed0a88d300e6a934c1fadf5ef93df /channels/chan_dahdi.c | |
parent | a6f0b0b18793b6da362d6a20b8f6064d48a9345e (diff) |
Status shows all non-CRC4 lines as "yellow", even if "yellow" was not in the bitfield.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@274281 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_dahdi.c')
-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] ); } |