<p><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/25985">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/25985/1/src/gb_proxy.c">File src/gb_proxy.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/osmo-gbproxy/+/25985/1/src/gb_proxy.c@1021">Patch Set #1, Line 1021:</a> <code style="font-family:monospace,monospace">static int gbproxy_bvci_from_status_pdu(struct msgb *msg, struct tlv_parsed *tp, uint16_t *bvci, char *log_pfx)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Some small func description would be helpful here.<br>BTW, "msg" is not used here?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/25985/1/src/gb_proxy.c@1527">Patch Set #1, Line 1527:</a> <code style="font-family:monospace,monospace">                       if (bvci != 0) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">You can add this check inline with the other if:<br>if ((gbproxy_bvci_from_status_pdu(msg, tp, &bvci, log_pfx) == 0) && (bvci != 0)) {</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/25985/1/src/gb_proxy.c@1530">Patch Set #1, Line 1530:</a> <code style="font-family:monospace,monospace">                             /* TODO: Log */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Please add the log right now :)</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gbproxy/+/25985">change 25985</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/c/osmo-gbproxy/+/25985"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gbproxy </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I5928cebea7f39d6648f95dfa1a46437de202f723 </div>
<div style="display:none"> Gerrit-Change-Number: 25985 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 27 Oct 2021 14:18:08 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>