Correct "dahdi show channels" output when specifying a group.
authorMark Michelson <mmichelson@digium.com>
Fri, 5 Jun 2009 13:51:08 +0000 (13:51 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 5 Jun 2009 13:51:08 +0000 (13:51 +0000)
commitd068c2f5e6ead626883f301c3187d03a93970fa4
tree074df490c41a199fae1429791800a5b4fbaf9d7e
parente018606c7ec90a3e910551e2628042f6a36d209b
Correct "dahdi show channels" output when specifying a group.

Since a DAHDI channel may belong to multiple groups, we need to use
a bitwise and instead of equivalence to determine whether to display
the channel information.

(closes issue #15248)
Reported by: gentian
Patches:
      15248.patch uploaded by mmichelson (license 60)
Tested by: gentian

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@199227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c