<p><a href="https://gerrit.osmocom.org/11493">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11493/3/src/osmo-bsc/bsc_vty.c">File src/osmo-bsc/bsc_vty.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11493/3/src/osmo-bsc/bsc_vty.c@566">Patch Set #3, Line 566:</a> <code style="font-family:monospace,monospace">         vty_out(vty, "%s %7u %6u %15s%s", buf, pos->site_id, pos->bts_id, pos->ip, VTY_NEWLINE);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">why do we need this %15s for pos->ip? isn't %s enough?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">If we keep it, it aligns all values to the right, and that looks better imho (more space between the IP and the BTS ID):</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> Date                Site ID BTS ID IP<br> ------------------- ------- ------ ---------------<br> 2018-10-25 09:36:28    1234      0    192.168.1.37</pre><p style="white-space: pre-wrap; word-wrap: break-word;">without it:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> Date                Site ID BTS ID IP<br> ------------------- ------- ------ ---------------<br> 2018-10-25 09:36:28    1234      0 192.168.1.37</pre></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11493">change 11493</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/11493"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Iba3bfe8fc9432b7ae8f819df8bd71b35b3ec507e </div>
<div style="display:none"> Gerrit-Change-Number: 11493 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 30 Oct 2018 13:45:58 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>