<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/20272">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-bts/+/20272/1/src/common/oml.c">File src/common/oml.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-bts/+/20272/1/src/common/oml.c@1291">Patch Set #1, Line 1291:</a> <code style="font-family:monospace,monospace">         case IPPROTO_IPIP:</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Again, this kind of define being used here makes no sense to me, it's confusing. Let's better use our own define.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/20272/1/src/common/oml.c@1292">Patch Set #1, Line 1292:</a> <code style="font-family:monospace,monospace">                    /* we already checked for 10 bytes */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">No TLVP_LEN check here, as done in ipv6?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bts/+/20272/1/src/common/oml.c@1295">Patch Set #1, Line 1295:</a> <code style="font-family:monospace,monospace">                  memcpy(&nsvc->remote.u.sin.sin_addr.s_addr, cur, sizeof(in_addr_t));</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">memcopying into sin_addr and using sizeof(struct sin_addr) is what we usually use, and may be more portable?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/20272">change 20272</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-bts/+/20272"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I310699fabbfec4255f0474f31717f215c1201eca </div>
<div style="display:none"> Gerrit-Change-Number: 20272 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 25 Sep 2020 09:53:23 +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>