tools: Allow pattern tools to access channels above the device file limit
authorKinsey Moore <kmoore@digium.com>
Tue, 7 Jun 2011 19:44:34 +0000 (19:44 +0000)
committerKinsey Moore <kmoore@digium.com>
Tue, 7 Jun 2011 19:44:34 +0000 (19:44 +0000)
commit178ae278251c97cb39cea67e7ece939412b1aab9
tree0e13b627190fcc47a47a082ef6100d3beac25c70
parent49a5fbfcd2cbfb8a3410818ed76134663ec2e1d2
tools: Allow pattern tools to access channels above the device file limit

pattest and patgen already had this capability, but there were cases in which
they would act unexpectedly.  Now, if the name specified is not a character
device file, it will be treated as a channel number if possible.

Acked-by: Shaun Ruffell <sruffell@digium.com>

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9975 17933a7a-c749-41c5-a318-cba88f637d49
patgen.c
patlooptest.c
pattest.c