[asterisk-bugs] [JIRA] (ASTERISK-29895) chan_iax2: Fix misaligned spacing in iax2 show netstats printout
Sean Bright (JIRA)
noreply at issues.asterisk.org
Mon Mar 7 12:38:06 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258319#comment-258319 ]
Sean Bright edited comment on ASTERISK-29895 at 3/7/22 12:36 PM:
-----------------------------------------------------------------
The patch only shifs the header of 'iax2 show netstats' 4 chars to the right without changing the formatting of the peer names. So instead of long peer names, now short peer names caused mis-alignment.
[This addition|^misaligned2.patch] ensures that stats after both long and short peer names are aligned correctly.
was (Author: wimpy):
The patch only shifs the header of 'iax2 show netstats' 4 chars to the right without changing the formatting of the peer names. So instead of long peer names, now short peer names caused mis-alignment.
This addition ensures that stats after both long and short peer names are aligned correctly.
> chan_iax2: Fix misaligned spacing in iax2 show netstats printout
> ----------------------------------------------------------------
>
> Key: ASTERISK-29895
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29895
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_iax2
> Affects Versions: 18.9.0
> Reporter: N A
> Assignee: N A
> Labels: patch
> Attachments: misaligned2.patch
>
>
> If the channel name is long enough, the spacing for the printout gets screwed up and the headers are no longer referring to the proper columns. This adds a padding of 4 spaces to the header so that the columns are always correctly aligned.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list