[Home]

Summary:ASTERISK-07741: [patch] pri show span command references invalid argv
Reporter:gkloepfer (gkloepfer)Labels:
Date Opened:2006-09-13 16:25:30Date Closed:2006-09-14 17:18:53
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_zap
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) showspan.patch
Description:CLI command "pri show span x" command error message for invalid span references improper argv array index, so an invalid span shows up as follows in the CLI:

bart*CLI> pri show span 9999
Invalid span (null).  Should be a number 1 to 32

The attached extremely trivial patch fixes this issue by referencing the proper array element in argv[].
Comments:By: Tilghman Lesher (tilghman) 2006-09-14 17:18:53

Added to 1.2; merged to trunk.  Thanks!