<p><a href="https://gerrit.osmocom.org/13523">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/13523/2/src/osmo-bsc/abis_nm.c">File src/osmo-bsc/abis_nm.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/13523/2/src/osmo-bsc/abis_nm.c@2712">Patch Set #2, Line 2712:</a> <code style="font-family:monospace,monospace">\n</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I am intentionally adding this EOL, because the most branches of switch (excluding NM_MT_IPACC_RSL_CONNECT_ACK and the 'default') are using LOGPFOH() and LOGPFOH() to print the message type. As a result, we get the following:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> DNM DEBUG <0004> abis_nm.c:2716 OC=GPRS-CELL(f1) INST=(00,00,ff): IPACCESS(0xf6): DNM DEBUG <0004> abis_nm.c:2769 OC=GPRS-CELL(f1) INST=(00,00,ff): SET ATTR ACK</pre><p style="white-space: pre-wrap; word-wrap: break-word;">After this patch, we would get the following:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> DNM DEBUG <0004> abis_nm.c:2713 OC=GPRS-NSE(f0) INST=(00,ff,ff): Rx IPACCESS(0xf6): 9d 00 02 00 65 a0 00 07 03 03 03 03 1e 03 0a a1 00 0b 03 03 03 03 03 0a 03 0a 03 0a 03<br> DNM DEBUG <0004> abis_nm.c:2766 OC=GPRS-NSE(f0) INST=(00,ff,ff): SET ATTR ACK</pre></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13523">change 13523</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/13523"/><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: I65ff2968523a90607bafd44e6f4f3d3e29ff73ef </div>
<div style="display:none"> Gerrit-Change-Number: 13523 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 04 Apr 2019 18:45:38 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>