<p>N A has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17957">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_iax2: Fix spacing in netstats command<br><br>The iax2 show netstats command previously didn't contain<br>enough spacing in the header to properly align the table<br>header with the table body. This caused column headers<br>to not align with the values on longer channel names.<br><br>Some spacing is added to account for the longest channel<br>names that display (before truncation occurs) so that<br>columns are always properly aligned.<br><br>ASTERISK-29895 #close<br><br>Change-Id: I450ce6bb81157b9d6d149007e53b749f237b6d9f<br>---<br>M channels/chan_iax2.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/57/17957/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c</span><br><span>index ecf5074..3a41be4 100644</span><br><span>--- a/channels/chan_iax2.c</span><br><span>+++ b/channels/chan_iax2.c</span><br><span>@@ -7597,8 +7597,8 @@</span><br><span>    }</span><br><span>    if (a->argc != 3)</span><br><span>                 return CLI_SHOWUSAGE;</span><br><span style="color: hsl(0, 100%, 40%);">-   ast_cli(a->fd, "                           -------- LOCAL ---------------------  -------- REMOTE --------------------\n");</span><br><span style="color: hsl(0, 100%, 40%);">- ast_cli(a->fd, "Channel               RTT  Jit  Del  Lost   %%  Drop  OOO  Kpkts  Jit  Del  Lost   %%  Drop  OOO  Kpkts FirstMsg    LastMsg\n");</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_cli(a->fd, "                                -------- LOCAL ---------------------  -------- REMOTE --------------------\n");</span><br><span style="color: hsl(120, 100%, 40%);">+  ast_cli(a->fd, "Channel                    RTT  Jit  Del  Lost   %%  Drop  OOO  Kpkts  Jit  Del  Lost   %%  Drop  OOO  Kpkts FirstMsg    LastMsg\n");</span><br><span>   numchans = ast_cli_netstats(NULL, a->fd, 1);</span><br><span>      ast_cli(a->fd, "%d active IAX channel%s\n", numchans, (numchans != 1) ? "s" : "");</span><br><span>  return CLI_SUCCESS;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17957">change 17957</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/17957"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I450ce6bb81157b9d6d149007e53b749f237b6d9f </div>
<div style="display:none"> Gerrit-Change-Number: 17957 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>