<p style="white-space: pre-wrap; word-wrap: break-word;">So you're not only adding LOGGGSN() macro, but also a new DGTP logging category. Please either state this in the commit message, or move to a separate change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-sgsn/+/15307">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/15307/2/include/osmocom/sgsn/gprs_sgsn.h">File include/osmocom/sgsn/gprs_sgsn.h:</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/15307/2/include/osmocom/sgsn/gprs_sgsn.h@410">Patch Set #2, Line 410:</a> <code style="font-family:monospace,monospace">INET_ADDRSTRLEN</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">What about '\0'? As far as I can see, other code parts are using INET_ADDRSTRLEN + 1, while in libosmocore we just use INET_ADDRSTRLEN...</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/15307/2/include/osmocom/sgsn/gprs_sgsn.h@411">Patch Set #2, Line 411:</a> <code style="font-family:monospace,monospace">&(ggc)->remote_addr</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">So this address is always IPv4, right?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/15307/2/src/gprs/sgsn_main.c">File src/gprs/sgsn_main.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/15307/2/src/gprs/sgsn_main.c@348">Patch Set #2, Line 348:</a> <code style="font-family:monospace,monospace">}</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Let's make it git-friendly and add a comma.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-sgsn/+/15307">change 15307</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-sgsn/+/15307"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I30f46f44af1d0eee324b1a995c1dad2e1315af7c </div>
<div style="display:none"> Gerrit-Change-Number: 15307 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 29 Aug 2019 23:36:41 +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>