[asterisk-bugs] [JIRA] (ASTERISK-29895) chan_iax2: Fix misaligned spacing in iax2 show netstats printout

Birger "WIMPy" Harzenetter (JIRA) noreply at issues.asterisk.org
Mon Mar 7 10:37:06 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Birger "WIMPy" Harzenetter updated ASTERISK-29895:
--------------------------------------------------

    Attachment: misaligned2.patch

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